Compare commits
1 commit
c8a5b8ab79
...
ada18336e3
Author | SHA1 | Date | |
---|---|---|---|
|
ada18336e3 |
2 changed files with 0 additions and 46 deletions
|
@ -33,26 +33,6 @@
|
||||||
args:
|
args:
|
||||||
chdir: /usr/share/alsa
|
chdir: /usr/share/alsa
|
||||||
|
|
||||||
### Wireplumber Config ###
|
|
||||||
|
|
||||||
- name: "Copy Wireplumber Config"
|
|
||||||
ansible.builtin.copy:
|
|
||||||
src: 51-qcom-sdm845.conf
|
|
||||||
dest: "/usr/share/wireplumber/wireplumber.conf.d/51-qcom-sdm845.conf"
|
|
||||||
owner: root
|
|
||||||
group: root
|
|
||||||
mode: u+rw
|
|
||||||
force: true
|
|
||||||
register: wireplumber_config
|
|
||||||
|
|
||||||
- name: "Restart Wireplumber on config change"
|
|
||||||
ansible.builtin.systemd_service:
|
|
||||||
name: wireplumber.service
|
|
||||||
state: restarted
|
|
||||||
scope: user
|
|
||||||
become_user: "{{ ansible_env.SUDO_USER }}"
|
|
||||||
when: wireplumber_config.changed
|
|
||||||
|
|
||||||
### Remove Remnants Of Previous Playbook Versions ###
|
### Remove Remnants Of Previous Playbook Versions ###
|
||||||
|
|
||||||
- name: "Deactivate systemd unit if it exists, ignore errors if it does not"
|
- name: "Deactivate systemd unit if it exists, ignore errors if it does not"
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
monitor.alsa.rules = [
|
|
||||||
{
|
|
||||||
matches = [
|
|
||||||
{
|
|
||||||
# Matches all sources
|
|
||||||
node.name = "~alsa_input.*"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
# Matches all sinks
|
|
||||||
node.name = "~alsa_output.*"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
actions = {
|
|
||||||
update-props = {
|
|
||||||
audio.format = "S16LE"
|
|
||||||
audio.rate = 48000
|
|
||||||
api.alsa.period-size = 4096
|
|
||||||
api.alsa.period-num = 6
|
|
||||||
api.alsa.headroom = 512,
|
|
||||||
# session.suspend-timeout-seconds = 0
|
|
||||||
# dither.method = "wannamaker3", # add dither of desired shape
|
|
||||||
# dither.noise = 2, # add additional bits of noise
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in a new issue