diff options
author | Christian Schaller <uraeus@gnome.org> | 2007-03-02 19:43:48 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2007-03-02 19:43:48 +0000 |
commit | 72ef9a10a8a9895c72911d23c983bf7d243847db (patch) | |
tree | 7ef800f64ef272488a3c1bcf81caaa5fd0a0a372 /ext/nas/nassink.h | |
parent | 6ca3c959b6d13112e2e7ff100e36d8a11a26f20e (diff) | |
download | gst-plugins-bad-72ef9a10a8a9895c72911d23c983bf7d243847db.tar.gz gst-plugins-bad-72ef9a10a8a9895c72911d23c983bf7d243847db.tar.bz2 gst-plugins-bad-72ef9a10a8a9895c72911d23c983bf7d243847db.zip |
Commit NAS Sink, closed bugzilla 345633
Original commit message from CVS:
Commit NAS Sink, closed bugzilla 345633
Diffstat (limited to 'ext/nas/nassink.h')
-rw-r--r-- | ext/nas/nassink.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/ext/nas/nassink.h b/ext/nas/nassink.h index c05ec28a..c78f4192 100644 --- a/ext/nas/nassink.h +++ b/ext/nas/nassink.h @@ -22,6 +22,7 @@ #define __GST_NASSINK_H__ #include <gst/gst.h> +#include <gst/audio/gstaudiosink.h> #ifdef __cplusplus extern "C" { @@ -48,16 +49,11 @@ typedef struct _GstNassink GstNassink; typedef struct _GstNassinkClass GstNassinkClass; struct _GstNassink { - GstElement element; - - GstPad *sinkpad; + GstAudioSink audiosink; /* instance properties */ gboolean mute; - gint depth; - gint tracks; - gint rate; gchar* host; /* Server info */ @@ -68,14 +64,11 @@ struct _GstNassink { /* buffer */ - AuUint32 size; - AuUint32 pos; - - char *buf; + AuUint32 need_data; }; struct _GstNassinkClass { - GstElementClass parent_class; + GstAudioSinkClass parent_class; }; GType gst_nassink_get_type(void); |