Lines Matching refs:asrc
104 static gboolean gst_directsound_src_open (GstAudioSrc * asrc);
105 static gboolean gst_directsound_src_close (GstAudioSrc * asrc);
106 static gboolean gst_directsound_src_prepare (GstAudioSrc * asrc,
108 static gboolean gst_directsound_src_unprepare (GstAudioSrc * asrc);
109 static void gst_directsound_src_reset (GstAudioSrc * asrc);
113 static guint gst_directsound_src_read (GstAudioSrc * asrc,
118 static guint gst_directsound_src_delay (GstAudioSrc * asrc);
398 gst_directsound_src_open (GstAudioSrc * asrc) in gst_directsound_src_open() argument
403 GST_DEBUG_OBJECT (asrc, "opening directsoundsrc"); in gst_directsound_src_open()
405 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_open()
408 GST_DEBUG_OBJECT (asrc, "device id set to: %s ", dsoundsrc->device_id); in gst_directsound_src_open()
456 gst_directsound_src_close (GstAudioSrc * asrc) in gst_directsound_src_close() argument
460 GST_DEBUG_OBJECT (asrc, "closing directsoundsrc"); in gst_directsound_src_close()
462 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_close()
474 gst_directsound_src_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec) in gst_directsound_src_prepare() argument
481 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_prepare()
483 GST_DEBUG_OBJECT (asrc, "preparing directsoundsrc"); in gst_directsound_src_prepare()
499 GST_INFO_OBJECT (asrc, "latency time: %" G_GUINT64_FORMAT " - buffer time: %" in gst_directsound_src_prepare()
513 GST_INFO_OBJECT (asrc, "Buffer size: %d", dsoundsrc->buffer_size); in gst_directsound_src_prepare()
536 GST_INFO_OBJECT (asrc, "actual latency time: %" G_GUINT64_FORMAT, in gst_directsound_src_prepare()
557 GST_INFO_OBJECT (asrc, in gst_directsound_src_prepare()
565 GST_INFO_OBJECT (asrc, "channels: %d, rate: %d, bytes_per_sample: %d" in gst_directsound_src_prepare()
589 gst_directsound_src_unprepare (GstAudioSrc * asrc) in gst_directsound_src_unprepare() argument
593 GST_DEBUG_OBJECT (asrc, "unpreparing directsoundsrc"); in gst_directsound_src_unprepare()
595 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_unprepare()
611 gst_directsound_src_read (GstAudioSrc * asrc, gpointer data, guint length, in gst_directsound_src_read() argument
629 GST_DEBUG_OBJECT (asrc, "reading directsoundsrc"); in gst_directsound_src_read()
631 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_read()
648 GST_INFO_OBJECT (asrc, "capture started"); in gst_directsound_src_read()
691 GST_DEBUG_OBJECT (asrc, "not enough data, got %lu (want at least %u)", in gst_directsound_src_read()
714 GST_DEBUG_OBJECT (asrc, "waiting %" G_GUINT64_FORMAT "ms for more data", in gst_directsound_src_read()
723 GST_DEBUG_OBJECT (asrc, "reset while sleeping, cancelled read"); in gst_directsound_src_read()
730 GST_DEBUG_OBJECT (asrc, "Got enough data: %lu bytes (wanted at least %u)", in gst_directsound_src_read()
766 gst_directsound_src_delay (GstAudioSrc * asrc) in gst_directsound_src_delay() argument
774 GST_INFO_OBJECT (asrc, "Delay"); in gst_directsound_src_delay()
776 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_delay()
796 GST_INFO_OBJECT (asrc, "Delay is %d samples", nNbSamplesInQueue); in gst_directsound_src_delay()
802 gst_directsound_src_reset (GstAudioSrc * asrc) in gst_directsound_src_reset() argument
808 GST_DEBUG_OBJECT (asrc, "reset directsoundsrc"); in gst_directsound_src_reset()
810 dsoundsrc = GST_DIRECTSOUND_SRC (asrc); in gst_directsound_src_reset()