Lines Matching refs:bsrc
97 static GstCaps *gst_wasapi2_src_get_caps (GstBaseSrc * bsrc, GstCaps * filter);
309 gst_wasapi2_src_get_caps (GstBaseSrc * bsrc, GstCaps * filter) in gst_wasapi2_src_get_caps() argument
311 GstAudioBaseSrc *asrc = GST_AUDIO_BASE_SRC_CAST (bsrc); in gst_wasapi2_src_get_caps()
314 GST_OBJECT_LOCK (bsrc); in gst_wasapi2_src_get_caps()
320 GST_OBJECT_UNLOCK (bsrc); in gst_wasapi2_src_get_caps()
326 GST_OBJECT_UNLOCK (bsrc); in gst_wasapi2_src_get_caps()
330 caps = gst_pad_get_pad_template_caps (bsrc->srcpad); in gst_wasapi2_src_get_caps()
339 GST_DEBUG_OBJECT (bsrc, "returning caps %" GST_PTR_FORMAT, caps); in gst_wasapi2_src_get_caps()
369 GstAudioBaseSrc *bsrc = GST_AUDIO_BASE_SRC_CAST (self); in gst_wasapi2_src_set_mute() local
377 if (bsrc->ringbuffer) { in gst_wasapi2_src_set_mute()
379 GST_WASAPI2_RING_BUFFER (bsrc->ringbuffer); in gst_wasapi2_src_set_mute()
395 GstAudioBaseSrc *bsrc = GST_AUDIO_BASE_SRC_CAST (self); in gst_wasapi2_src_get_mute() local
403 if (bsrc->ringbuffer) { in gst_wasapi2_src_get_mute()
405 GST_WASAPI2_RING_BUFFER (bsrc->ringbuffer); in gst_wasapi2_src_get_mute()
424 GstAudioBaseSrc *bsrc = GST_AUDIO_BASE_SRC_CAST (self); in gst_wasapi2_src_set_volume() local
435 if (bsrc->ringbuffer) { in gst_wasapi2_src_set_volume()
437 GST_WASAPI2_RING_BUFFER (bsrc->ringbuffer); in gst_wasapi2_src_set_volume()
454 GstAudioBaseSrc *bsrc = GST_AUDIO_BASE_SRC_CAST (self); in gst_wasapi2_src_get_volume() local
462 if (bsrc->ringbuffer) { in gst_wasapi2_src_get_volume()
464 GST_WASAPI2_RING_BUFFER (bsrc->ringbuffer); in gst_wasapi2_src_get_volume()