Home
last modified time | relevance | path

Searched refs:osxbuf (Results 1 – 8 of 8) sorted by relevance

/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxaudioringbuffer.c130 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_dispose() local
132 osxbuf = GST_OSX_AUDIO_RING_BUFFER (object); in gst_osx_audio_ring_buffer_dispose()
134 if (osxbuf->core_audio) { in gst_osx_audio_ring_buffer_dispose()
135 g_object_unref (osxbuf->core_audio); in gst_osx_audio_ring_buffer_dispose()
136 osxbuf->core_audio = NULL; in gst_osx_audio_ring_buffer_dispose()
145 GstOsxAudioRingBuffer *osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_open_device() local
147 if (!gst_core_audio_select_device (osxbuf->core_audio)) { in gst_osx_audio_ring_buffer_open_device()
153 if (!gst_core_audio_open (osxbuf->core_audio)) { in gst_osx_audio_ring_buffer_open_device()
165 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_close_device() local
166 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_close_device()
[all …]
Dgstosxcoreaudiocommon.c42 GST_WARNING_OBJECT (core_audio->osxbuf, in gst_core_audio_remove_render_callback()
51 GST_WARNING_OBJECT (core_audio->osxbuf, in gst_core_audio_remove_render_callback()
89 GST_DEBUG_OBJECT (core_audio->osxbuf, in gst_core_audio_io_proc_start()
98 input.inputProcRefCon = core_audio->osxbuf; in gst_core_audio_io_proc_start()
104 GST_ERROR_OBJECT (core_audio->osxbuf, in gst_core_audio_io_proc_start()
113 GST_ERROR_OBJECT (core_audio->osxbuf, in gst_core_audio_io_proc_start()
124 GST_ERROR_OBJECT (core_audio->osxbuf, "AudioOutputUnitStart failed: %d", in gst_core_audio_io_proc_start()
136 GST_DEBUG_OBJECT (core_audio->osxbuf, in gst_core_audio_io_proc_stop()
142 GST_WARNING_OBJECT (core_audio->osxbuf, in gst_core_audio_io_proc_stop()
197 GST_DEBUG_OBJECT (core_audio->osxbuf, "Bind AudioUnit to device %d", in gst_core_audio_bind_device()
[all …]
Dgstosxaudiosink.c319 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_sink_getcaps() local
335 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_sink_getcaps()
340 if (osxbuf->core_audio->cached_caps_valid) { in gst_osx_audio_sink_getcaps()
342 caps = gst_caps_ref (osxbuf->core_audio->cached_caps); in gst_osx_audio_sink_getcaps()
351 caps = gst_core_audio_probe_caps (osxbuf->core_audio, template_caps); in gst_osx_audio_sink_getcaps()
352 gst_caps_replace (&osxbuf->core_audio->cached_caps, caps); in gst_osx_audio_sink_getcaps()
566 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_sink_set_volume() local
568 osxbuf = GST_OSX_AUDIO_RING_BUFFER (GST_AUDIO_BASE_SINK (sink)->ringbuffer); in gst_osx_audio_sink_set_volume()
569 if (!osxbuf) in gst_osx_audio_sink_set_volume()
572 gst_core_audio_set_volume (osxbuf->core_audio, sink->volume); in gst_osx_audio_sink_set_volume()
Dgstosxaudiosrc.c243 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_src_get_caps() local
259 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_src_get_caps()
264 if (osxbuf->core_audio->cached_caps_valid) { in gst_osx_audio_src_get_caps()
266 caps = gst_caps_ref (osxbuf->core_audio->cached_caps); in gst_osx_audio_src_get_caps()
275 caps = gst_core_audio_probe_caps (osxbuf->core_audio, template_caps); in gst_osx_audio_src_get_caps()
276 gst_caps_replace (&osxbuf->core_audio->cached_caps, caps); in gst_osx_audio_src_get_caps()
Dgstosxcoreaudiohal.c679 GST_OSX_AUDIO_SINK (GST_OBJECT_PARENT (core_audio->osxbuf)); in _audio_stream_hardware_changed_listener()
707 GST_ERROR_OBJECT (core_audio->osxbuf, in _monitorize_spdif()
732 GST_ERROR_OBJECT (core_audio->osxbuf, in _unmonitorize_spdif()
779 GST_WARNING_OBJECT (core_audio->osxbuf, "Format revert failed"); in _close_spdif()
811 status = core_audio->element->io_proc (core_audio->osxbuf, NULL, inTimestamp, in _io_proc_spdif()
859 GST_WARNING_OBJECT (core_audio->osxbuf, in _acquire_spdif()
869 GST_LOG_OBJECT (core_audio->osxbuf, in _acquire_spdif()
930 GST_ERROR_OBJECT (core_audio->osxbuf, in _remove_render_spdif_callback()
959 GST_ERROR_OBJECT (core_audio->osxbuf, in _io_proc_spdif_start()
971 GST_ERROR_OBJECT (core_audio->osxbuf, in _io_proc_spdif_start()
[all …]
Dgstosxcoreaudio.h84 GstObject *osxbuf; member
121 GstCoreAudio * gst_core_audio_new (GstObject *osxbuf);
Dgstosxcoreaudio.c104 gst_core_audio_new (GstObject * osxbuf) in gst_core_audio_new() argument
109 core_audio->osxbuf = osxbuf; in gst_core_audio_new()
/third_party/gstreamer/gstplugins_good/
DChangeLog40251 from our own thread. In the latter case, osxbuf can be already locked
40254 cached_caps when we cannot lock on osxbuf.