You are not logged in.
I can't play sound with gstreamer using alsa (alsasink). The command always stops with: pcm.c:2097: snd_pcm_wait: Assertion `err == 1' fail.
After applying the patch below it works :-)
--- src/pcm/pcm.c_or 2004-12-14 04:07:31.000000000 +0100
+++ src/pcm/pcm.c 2004-12-14 04:08:26.000000000 +0100
@@ -2094,7 +2094,7 @@
}
}
err = snd_pcm_poll_descriptors(pcm, &pfd, 1);
- assert(err == 1);
+ if(err < 0) return err;
__retry:
err_poll = poll(&pfd, 1, timeout);
if (err_poll < 0)
This patch is for alsa-lib-1.0.7 but also works for lower versions, you may have to change the line numbers.
I've found the patch at:
https://bugtrack.alsa-project.org/alsa- … php?id=643
Offline