[meta-intel] [PATCH 2/9] pulseaudio: fix audio playback on tunnelcreek platforms

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Mon Dec 15 14:25:54 PST 2014


From: Nitin A Kamble <nitin.a.kamble at intel.com>

On Emenlow, Crownbay & FRI2 boards, pulseaudio need to be configured in the
interrupt based timing mode to avoid the choppy audio playback.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 .../pulseaudio/use_interrupt_based_timing.patch    | 22 ++++++++++++++++++++++
 .../pulseaudio/pulseaudio_5.0.bbappend             |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 common/recipes-multimedia/pulseaudio/pulseaudio/use_interrupt_based_timing.patch

diff --git a/common/recipes-multimedia/pulseaudio/pulseaudio/use_interrupt_based_timing.patch b/common/recipes-multimedia/pulseaudio/pulseaudio/use_interrupt_based_timing.patch
new file mode 100644
index 0000000..565db5a
--- /dev/null
+++ b/common/recipes-multimedia/pulseaudio/pulseaudio/use_interrupt_based_timing.patch
@@ -0,0 +1,22 @@
+# The default system-timer based model (tsched=1) of pulseaudio does not work
+# well on the Tunnelcreek Atom platforms.
+# Using the older interupt based timing with tsched=0
+
+Upstream-Status: Inappropriate [configuration]
+
+2014-12-11
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble at intel.com>
+
+Index: pulseaudio-5.0/src/daemon/default.pa.in
+===================================================================
+--- pulseaudio-5.0.orig/src/daemon/default.pa.in
++++ pulseaudio-5.0/src/daemon/default.pa.in
+@@ -69,7 +69,7 @@ ifelse(@HAVE_MKFIFO@, 1, [dnl
+ ### Automatically load driver modules depending on the hardware available
+ ifelse(@HAVE_UDEV@, 1, [dnl
+ .ifexists module-udev-detect at PA_SOEXT@
+-load-module module-udev-detect
++load-module module-udev-detect tsched=0
+ .else
+ ], [dnl
+ .ifexists module-detect at PA_SOEXT@
diff --git a/common/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend b/common/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
index e763c11..0995139 100644
--- a/common/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
+++ b/common/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
@@ -3,3 +3,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 SRC_URI_append_corei7-64-intel-common = " file://dont-exit-on-idle.patch"
 
 SRC_URI_append_core2-32-intel-common = " file://dont-exit-on-idle.patch"
+SRC_URI_append_core2-32-intel-common = " file://use_interrupt_based_timing.patch"
-- 
1.8.1.4



More information about the meta-intel mailing list