diff --git a/ansible/audio.yml b/ansible/audio.yml index 539fd9f..14a1526 100644 --- a/ansible/audio.yml +++ b/ansible/audio.yml @@ -33,26 +33,6 @@ args: 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 ### - name: "Deactivate systemd unit if it exists, ignore errors if it does not" diff --git a/ansible/files/51-qcom-sdm845.conf b/ansible/files/51-qcom-sdm845.conf deleted file mode 100644 index e92726f..0000000 --- a/ansible/files/51-qcom-sdm845.conf +++ /dev/null @@ -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 - } - } - } -]