[alsa-devel] [PATCH - alsa-lib] pcm/ioplug: Add mutex in snd_pcm_ioplug_hw_ptr_update

Vishal Agrawal visagrawal at gmail.com
Tue Oct 29 11:22:16 CET 2013


Function snd_pcm_ioplug_hw_ptr_update can be called from many threads, we
need to protect the hw_ptr. I came across this issue with GStreamer and
Jackd. Function will be called from the thread doing snd_pcm_write and
another would be to get the playback position for the track bar.

Change in itself is very minimum, but it took me a lot of time to debug.

Thanks,
Vishal Agrawal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pcm-ioplug-Add-mutex-in-snd_pcm_ioplug_hw_ptr_update.patch
Type: text/x-patch
Size: 1400 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131029/609392a1/attachment.bin>


More information about the Alsa-devel mailing list