feat(pipewire): Add alsa integration
Any programs running through alsa only (such as spotify_player on voidlinux) should now also work correctly through the pipewire stack.
This commit is contained in:
parent
317b931de0
commit
dc78da4d03
5 changed files with 56 additions and 1 deletions
|
|
@ -45,5 +45,37 @@
|
|||
src: "/usr/share/examples/pipewire/20-pipewire-pulse.conf"
|
||||
dest: "/etc/pipewire/pipewire.conf.d/20-pipewire-pulse.conf"
|
||||
state: link
|
||||
tags: pulseaudio
|
||||
|
||||
- name: Install alsa integration package
|
||||
community.general.xbps:
|
||||
name:
|
||||
- alsa-pipewire
|
||||
state: "{{ desired_package_state | default('present') }}"
|
||||
tags:
|
||||
- packages
|
||||
- alsa
|
||||
|
||||
- name: Set up wireplumber to auto start
|
||||
ansible.builtin.file:
|
||||
dest: "/etc/alsa/conf.d"
|
||||
state: directory
|
||||
|
||||
- name: Enable alsa-pipewire interface
|
||||
become: true
|
||||
ansible.builtin.file:
|
||||
force: "yes"
|
||||
src: "/usr/share/alsa/alsa.conf.d/50-pipewire.conf"
|
||||
dest: "/etc/alsa/conf.d/50-pipewire.conf"
|
||||
state: link
|
||||
tags: alsa
|
||||
|
||||
- name: Make alsa-pipewire interface default for alsa
|
||||
ansible.builtin.file:
|
||||
force: "yes"
|
||||
src: "/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf"
|
||||
dest: "/etc/alsa/conf.d/99-pipewire-default.conf"
|
||||
state: link
|
||||
tags: alsa
|
||||
|
||||
# TODO: Find way to install and enable pipewire-roc-sink module (and enable ~/.config/pipewire/pipewire.conf.d/roc-sink.conf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue