From ee0f24f03512eaf081ab2cc3ae7e0215a6c92d07 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 19 Jun 2019 13:10:38 +0000 Subject: [PATCH] [packages:media] more audiophile settings for pulseaudio --- roles/packages/tasks/media.yml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/roles/packages/tasks/media.yml b/roles/packages/tasks/media.yml index 549d703..56aa9d6 100644 --- a/roles/packages/tasks/media.yml +++ b/roles/packages/tasks/media.yml @@ -1,14 +1,4 @@ --- -- name: copy alsa config - copy: - src: asound.conf - dest: /etc/asound.conf - -- name: set pulse config - lineinfile: - path: /etc/pulse/daemon.conf - line: default-sample-rate = 48000 - - name: install media packages apt: name: @@ -45,3 +35,18 @@ - vlc - webp state: present + +- name: copy alsa config + copy: + src: asound.conf + dest: /etc/asound.conf + +- name: set pulse config + lineinfile: + path: /etc/pulse/daemon.conf + line: "{{ item }}" + loop: + - alternate-sample-rate = 88200 + - default-sample-format = s32le + - default-sample-rate = 96000 + - resample-method = speex-float-5