• Home
  • Raw
  • Download

Lines Matching refs:asink

87 static gboolean gst_oss_sink_open (GstAudioSink * asink);
88 static gboolean gst_oss_sink_close (GstAudioSink * asink);
89 static gboolean gst_oss_sink_prepare (GstAudioSink * asink,
91 static gboolean gst_oss_sink_unprepare (GstAudioSink * asink);
92 static gint gst_oss_sink_write (GstAudioSink * asink, gpointer data,
94 static guint gst_oss_sink_delay (GstAudioSink * asink);
95 static void gst_oss_sink_reset (GstAudioSink * asink);
359 gst_oss_sink_open (GstAudioSink * asink) in gst_oss_sink_open() argument
364 oss = GST_OSSSINK (asink); in gst_oss_sink_open()
408 gst_oss_sink_close (GstAudioSink * asink) in gst_oss_sink_close() argument
410 close (GST_OSSSINK (asink)->fd); in gst_oss_sink_close()
411 GST_OSSSINK (asink)->fd = -1; in gst_oss_sink_close()
416 gst_oss_sink_prepare (GstAudioSink * asink, GstAudioRingBufferSpec * spec) in gst_oss_sink_prepare() argument
424 oss = GST_OSSSINK (asink); in gst_oss_sink_prepare()
433 gst_oss_sink_close (asink); in gst_oss_sink_prepare()
498 gst_oss_sink_unprepare (GstAudioSink * asink) in gst_oss_sink_unprepare() argument
502 if (!gst_oss_sink_close (asink)) in gst_oss_sink_unprepare()
505 if (!gst_oss_sink_open (asink)) in gst_oss_sink_unprepare()
513 GST_DEBUG_OBJECT (asink, "Could not close the audio device"); in gst_oss_sink_unprepare()
518 GST_DEBUG_OBJECT (asink, "Could not reopen the audio device"); in gst_oss_sink_unprepare()
524 gst_oss_sink_write (GstAudioSink * asink, gpointer data, guint length) in gst_oss_sink_write() argument
526 return write (GST_OSSSINK (asink)->fd, data, length); in gst_oss_sink_write()
530 gst_oss_sink_delay (GstAudioSink * asink) in gst_oss_sink_delay() argument
536 oss = GST_OSSSINK (asink); in gst_oss_sink_delay()
554 gst_oss_sink_reset (GstAudioSink * asink) in gst_oss_sink_reset() argument