gst_plugins_base/gst-libs/gst/audio/gstaudiosink.h
changeset 16 8e837d1bf446
parent 0 0e761a78d257
child 30 7e817e7e631c
equal deleted inserted replaced
15:4b0c6ed43234 16:8e837d1bf446
    81   /* undo anything that was done in prepare() */
    81   /* undo anything that was done in prepare() */
    82   gboolean (*unprepare) (GstAudioSink *sink);
    82   gboolean (*unprepare) (GstAudioSink *sink);
    83   /* close the device */
    83   /* close the device */
    84   gboolean (*close)     (GstAudioSink *sink);
    84   gboolean (*close)     (GstAudioSink *sink);
    85   /* write samples to the device */
    85   /* write samples to the device */
       
    86   /* FIXME 0.11: change return value to gint, as most implementation use that
       
    87    * already anyway */
    86   guint    (*write)     (GstAudioSink *sink, gpointer data, guint length);
    88   guint    (*write)     (GstAudioSink *sink, gpointer data, guint length);
    87   /* get number of samples queued in the device */
    89   /* get number of samples queued in the device */
    88   guint    (*delay)     (GstAudioSink *sink);
    90   guint    (*delay)     (GstAudioSink *sink);
    89   /* reset the audio device, unblock from a write */
    91   /* reset the audio device, unblock from a write */
    90   void     (*reset)     (GstAudioSink *sink);
    92   void     (*reset)     (GstAudioSink *sink);