gst_plugins_base/gst-libs/gst/audio/gstaudiosink.h
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
equal deleted inserted replaced
29:567bb019e3e3 30:7e817e7e631c
    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 */
       
    88   guint    (*write)     (GstAudioSink *sink, gpointer data, guint length);
    86   guint    (*write)     (GstAudioSink *sink, gpointer data, guint length);
    89   /* get number of samples queued in the device */
    87   /* get number of samples queued in the device */
    90   guint    (*delay)     (GstAudioSink *sink);
    88   guint    (*delay)     (GstAudioSink *sink);
    91   /* reset the audio device, unblock from a write */
    89   /* reset the audio device, unblock from a write */
    92   void     (*reset)     (GstAudioSink *sink);
    90   void     (*reset)     (GstAudioSink *sink);