From: Nitin A Kamble <[email protected]> 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 <[email protected]> --- .../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 <[email protected]> + +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@PA_SOEXT@ +-load-module module-udev-detect ++load-module module-udev-detect tsched=0 + .else + ], [dnl + .ifexists module-detect@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 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
