mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
switch to pipewire
I uninstalled pulseaudio, pulseaudio-bluetooth and pulseaudio-alsa before running this. I think that is unnecessary and the pipewire-pulse package will resolve any conflicts. But who knows. For my audio needs, pipewire seems to be a drop-in replacement now. I notice no difference. Closes #95
This commit is contained in:
parent
bfd5208983
commit
50e9387cc1
3 changed files with 4 additions and 31 deletions
|
|
@ -1,12 +1,4 @@
|
|||
---
|
||||
- name: Install PulseAudio bluetooth with LDAC/aptX support
|
||||
pacman:
|
||||
name:
|
||||
- libldac
|
||||
- pulseaudio-bluetooth
|
||||
notify:
|
||||
- restart pulse as user
|
||||
|
||||
- name: Install bluetooth libraries and tools
|
||||
pacman:
|
||||
name:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: restart pulse as user
|
||||
systemd:
|
||||
name: pulseaudio.service
|
||||
name: pipewire-pulse.service
|
||||
scope: user
|
||||
state: restarted
|
||||
become: yes
|
||||
|
|
|
|||
|
|
@ -4,34 +4,15 @@
|
|||
name: alsa-utils
|
||||
state: present
|
||||
|
||||
- name: Install PulseAudio
|
||||
- name: Install Pipewire
|
||||
pacman:
|
||||
name:
|
||||
- pulseaudio
|
||||
- pulseaudio-alsa
|
||||
- pipewire
|
||||
- pipewire-pulse
|
||||
- pavucontrol
|
||||
state: present
|
||||
|
||||
- name: Switch output to newly connected devices
|
||||
lineinfile:
|
||||
dest: /etc/pulse/default.pa
|
||||
state: present
|
||||
line: "load-module module-switch-on-connect"
|
||||
|
||||
- name: Install pasystray
|
||||
pacman:
|
||||
name: pasystray
|
||||
state: present
|
||||
|
||||
- name: Install pulseaudio-ctl
|
||||
aur:
|
||||
name: pulseaudio-ctl
|
||||
user: "{{ user.name }}"
|
||||
tags:
|
||||
- aur
|
||||
|
||||
- name: Push pamute
|
||||
copy:
|
||||
src: pamute/pamute
|
||||
dest: /usr/local/bin/pamute
|
||||
mode: 0755
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue