mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ext/alsa/gstalsasink.c: Revert patch that makes the sink hold the object lock when calling snd_pcm_delay(), since it ...
Original commit message from CVS: * ext/alsa/gstalsasink.c: (gst_alsasink_delay): Revert patch that makes the sink hold the object lock when calling snd_pcm_delay(), since it breaks playback for me.
This commit is contained in:
parent
37df642086
commit
20081431d1
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-02-12 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* ext/alsa/gstalsasink.c: (gst_alsasink_delay):
|
||||
Revert patch that makes the sink hold the object lock when
|
||||
calling snd_pcm_delay(), since it breaks playback for me.
|
||||
|
||||
2008-02-12 Julien Moutte <julien@fluendo.com>
|
||||
|
||||
* tests/examples/seek/seek.c: (rate_spinbutton_changed_cb): Add
|
||||
|
|
|
@ -856,9 +856,7 @@ gst_alsasink_delay (GstAudioSink * asink)
|
|||
|
||||
alsa = GST_ALSA_SINK (asink);
|
||||
|
||||
GST_ALSA_SINK_LOCK (asink);
|
||||
res = snd_pcm_delay (alsa->handle, &delay);
|
||||
GST_ALSA_SINK_UNLOCK (asink);
|
||||
if (G_UNLIKELY (res < 0)) {
|
||||
GST_DEBUG_OBJECT (alsa, "snd_pcm_delay returned %d", res);
|
||||
delay = 0;
|
||||
|
|
Loading…
Reference in a new issue