Glitch in audio when ipod is disconnected

Vignesh Raman rvignesh.raman at gmail.com
Wed Sep 4 19:51:19 PDT 2013


Hi,

We have a application which uses gstreamer to play files from iPod.
For playback the application is using the alsasrc for streaming with the
following pipeline:
alsasrc->queue->alsasink->volume->capsfilter

The issue is when the ipod is disconnected , there is a glitch in audio.
This issue is not seen when the application is made to run on a single core
using taskset (taskset -c 0).

Have taken logs with,
export GST_DEBUG=ringbuffer:5,baseaudiosink:5,baseaudiosrc:5,alsa:5

This seems to be a race condition between threads, but I'm not sure.

Have attached logs with and without taskset.

glitch_without_taskset.log.zip -  The glitch is seen.
no_glitch_with_taskset.log - The glitch is not seen.

Is this a known issue in gstreamer or any patches solves this issue ?

Thanks for any suggestion.

Regards,
Vignesh.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130905/eb0f98b0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glitch_without_taskset.log.zip
Type: application/zip
Size: 241937 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130905/eb0f98b0/attachment-0002.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_glitch_with_taskset.log.zip
Type: application/zip
Size: 195765 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130905/eb0f98b0/attachment-0003.zip>


More information about the gstreamer-devel mailing list