Lines Matching refs:osxbuf
130 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()
168 return gst_core_audio_close (osxbuf->core_audio); in gst_osx_audio_ring_buffer_close_device()
176 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_acquire() local
179 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_acquire()
231 GST_DEBUG_OBJECT (osxbuf, "Format: " CORE_AUDIO_FORMAT, in gst_osx_audio_ring_buffer_acquire()
241 ret = gst_core_audio_initialize (osxbuf->core_audio, format, spec->caps, in gst_osx_audio_ring_buffer_acquire()
250 osxbuf->segoffset = 0; in gst_osx_audio_ring_buffer_acquire()
258 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_release() local
260 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_release()
262 gst_core_audio_uninitialize (osxbuf->core_audio); in gst_osx_audio_ring_buffer_release()
274 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_start() local
276 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_start()
278 return gst_core_audio_start_processing (osxbuf->core_audio); in gst_osx_audio_ring_buffer_start()
284 GstOsxAudioRingBuffer *osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_pause() local
286 return gst_core_audio_pause_processing (osxbuf->core_audio); in gst_osx_audio_ring_buffer_pause()
293 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_stop() local
295 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_stop()
297 gst_core_audio_stop_processing (osxbuf->core_audio); in gst_osx_audio_ring_buffer_stop()
305 GstOsxAudioRingBuffer *osxbuf; in gst_osx_audio_ring_buffer_delay() local
309 osxbuf = GST_OSX_AUDIO_RING_BUFFER (buf); in gst_osx_audio_ring_buffer_delay()
311 if (!gst_core_audio_get_samples_and_latency (osxbuf->core_audio, in gst_osx_audio_ring_buffer_delay()