gstreamer/sys/osxaudio
Sebastian Dröge e7b10a107d osxaudio: Fix deadlock and property change notification in device selection code
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.
2014-12-22 10:29:01 +01:00
..
gstosxaudio.c Fix FSF address 2012-11-04 00:07:18 +00:00
gstosxaudioelement.c osxaudio: port to v.1.0 2013-04-17 09:52:13 +02:00
gstosxaudioelement.h osxaudio: add support for iOS using the RemoteIO AudioUnit 2013-03-08 12:13:56 +01:00
gstosxaudioringbuffer.c osxaudio: Clean up a GstCoreAudio -> GstOsxAudioSrc/Sink reference 2014-12-15 11:19:51 +05:30
gstosxaudioringbuffer.h osxaudio: Clean up a GstCoreAudio -> GstOsxAudioSrc/Sink reference 2014-12-15 11:19:51 +05:30
gstosxaudiosink.c osxaudio: Fix deadlock and property change notification in device selection code 2014-12-22 10:29:01 +01:00
gstosxaudiosink.h osxaudiosrc: Probe channel layout too 2014-12-15 11:19:52 +05:30
gstosxaudiosrc.c osxaudio: Fix deadlock and property change notification in device selection code 2014-12-22 10:29:01 +01:00
gstosxaudiosrc.h osxaudiosrc: Implement caps probing 2014-12-15 11:19:52 +05:30
gstosxcoreaudio.c osxaudiosrc: Probe channel layout too 2014-12-15 11:19:52 +05:30
gstosxcoreaudio.h osxaudiosrc: Probe channel layout too 2014-12-15 11:19:52 +05:30
gstosxcoreaudiocommon.c osxaudio: OSStatus is not a fourcc, so don't print it as one... 2014-09-17 13:55:18 +03:00
gstosxcoreaudiocommon.h osxaudio: Fix merge conflicts 2013-04-17 20:24:48 +02:00
gstosxcoreaudiohal.c osxaudio: Bind audio device to audio unit early 2014-12-15 11:19:52 +05:30
gstosxcoreaudioremoteio.c osxaudiosrc: Probe channel layout too 2014-12-15 11:19:52 +05:30
Makefile.am osxaudio: port to v.1.0 2013-04-17 09:52:13 +02:00