aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2019-11-22 13:52:27 -0600
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2019-11-28 10:42:20 +0100
commitb434e150281f26e87afd2903c8567fa5ad56501a (patch)
treea029a101f23cee47f52ca5c5b9f78a8ca5d6c68d
parent6e47457290b5e5f755b3f6d6022037a2e31a7a3a (diff)
downloadmeta-qcom-b434e150281f26e87afd2903c8567fa5ad56501a.tar.gz
meta-qcom-b434e150281f26e87afd2903c8567fa5ad56501a.tar.bz2
meta-qcom-b434e150281f26e87afd2903c8567fa5ad56501a.zip
recipes-multimedia: Add pulseaudio bbappend for default.pa config
Add tsched=0 on module-udev-detect to fix distorted sound. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> (cherry picked from commit f4c72d3589d01582bcf3d3033f938c96943bc2c6)
-rw-r--r--recipes-multimedia/pulseaudio/pulseaudio_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
new file mode 100644
index 0000000..44a86ff
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
@@ -0,0 +1,3 @@
+do_install_append() {
+ sed -i "s|^load-module module-udev-detect|load-module module-udev-detect tsched=0|" ${D}${sysconfdir}/pulse/default.pa
+}