diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-12-27 16:57:55 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-01-04 12:18:39 +0000 |
commit | b386b239c83d2f2759b15ec407c6f71857fa8eb5 (patch) | |
tree | a6885d779d62b68252e1a76c4e78db3df8313caf /meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | |
parent | 389797ecaf4816378357ac9bd10b6e2d8f50bd4d (diff) |
Fix default.pa for 4a
- This file "default.pa" should be used with 4a.
- 4a default configuration with AGL default audio roles was valided.
EE-must-fix
Bug-AGL: SPEC-1234
Change-Id: I4d1487efa182033ebff9c5153fa5e78920edaab2
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend')
-rw-r--r-- | meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index 6b122f5e..d8a84990 100644 --- a/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/meta-audio-4a-framework/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend @@ -1,16 +1,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI += "file://90-4a-modules.pa" +SRC_URI += "file://default.pa.4a" -# Add .include directive to default.pa so optional configuration can be added do_install_append () { - if [ ! -e ${D}${sysconfdir}/pulse/default.d/ ]; then - echo ".include ${sysconfdir}/pulse/default.d" >> ${D}${sysconfdir}/pulse/default.pa - install -d ${D}${sysconfdir}/pulse/default.d - fi - install -m 0644 ${WORKDIR}/90-4a-modules.pa ${D}${sysconfdir}/pulse/default.d/ - - for m in module-udev-detect module-suspend-on-idle;do - sed -i -e "s|^load-module ${m}|#load-module ${m}|" ${D}${sysconfdir}/pulse/default.pa - done + cp ${WORKDIR}/default.pa.4a ${D}${sysconfdir}/pulse/default.pa } |