Patchwork [meta-fsl-arm,V2] pulseaudio: Fix mutext issue when do pause in gstreamer

login
register
mail settings
Submitter Jun Zhu
Date Aug. 15, 2014, 4:28 p.m.
Message ID <1408120120-24067-1-git-send-email-R01007@freescale.com>
Download mbox | patch
Permalink /patch/78355/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Jun Zhu - Aug. 15, 2014, 4:28 p.m.
Pulseaudio crashes when other program using sound:
Assertion 'pthread_mutex_unlock(&m->mutex) == 0' failed
at pulsecore/mutex-posix.c:106, function pa_mutex_unlock().

Disable the feature PTHREAD priority inheritance is the easiest
workaround for this issue.

Signed-off-by: Jun Zhu <R01007@freescale.com>
---
 .../pulseaudio/pulseaudio_5.0.bbappend             |    4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend

Patch

diff --git a/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
new file mode 100644
index 0000000..b9acb36
--- /dev/null
+++ b/recipes-multimedia/pulseaudio/pulseaudio_5.0.bbappend
@@ -0,0 +1,4 @@ 
+
+CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no"
+
+PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"