mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
e7b10a107d
After creating the ringbuffer we have to set the device on the ringbuffer as it defaults to kAudioDeviceUnknown. At this point it can't have changed to anything else yet and we don't have to notify about changes to the sink/src "device" property. It's also not a good idea because GstAudioBaseSrc has the object lock taken while the ringbuffer is created, which might cause a deadlock if something calls back into the element from "notify::device". Once the base class is done with the NULL_TO_READY state change, it has opened the device via the ringbuffer and this might have chosen a different device. Especially if we initially used kAudioDeviceUnknown. Also notify about this property change as initially intended by this code. |
||
---|---|---|
.. | ||
gstosxaudio.c | ||
gstosxaudioelement.c | ||
gstosxaudioelement.h | ||
gstosxaudioringbuffer.c | ||
gstosxaudioringbuffer.h | ||
gstosxaudiosink.c | ||
gstosxaudiosink.h | ||
gstosxaudiosrc.c | ||
gstosxaudiosrc.h | ||
gstosxcoreaudio.c | ||
gstosxcoreaudio.h | ||
gstosxcoreaudiocommon.c | ||
gstosxcoreaudiocommon.h | ||
gstosxcoreaudiohal.c | ||
gstosxcoreaudioremoteio.c | ||
Makefile.am |