Update docs
[platform/upstream/gst-plugins-good.git] / gst / autodetect / gstautoaudiosink.h
index 3df3b94..24a0b25 100644 (file)
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 #ifndef __GST_AUTO_AUDIO_SINK_H__
 #define __GST_AUTO_AUDIO_SINK_H__
 
 #include <gst/gst.h>
+#include "gstautodetect.h"
 
 G_BEGIN_DECLS
 
@@ -28,29 +29,26 @@ G_BEGIN_DECLS
   (gst_auto_audio_sink_get_type ())
 #define GST_AUTO_AUDIO_SINK(obj) \
   (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_AUTO_AUDIO_SINK, \
-                              GstAutoAudioSink))
+                               GstAutoAudioSink))
 #define GST_AUTO_AUDIO_SINK_CLASS(klass) \
   (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_AUTO_AUDIO_SINK, \
-                           GstAutoAudioSink))
+                            GstAutoAudioSinkClass))
 #define GST_IS_AUTO_AUDIO_SINK(obj) \
   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_AUTO_AUDIO_SINK))
-#define GST_IS_AUTO_AUDIO_SINK_CLASS(obj) \
+#define GST_IS_AUTO_AUDIO_SINK_CLASS(klass) \
   (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_AUTO_AUDIO_SINK))
 
 typedef struct _GstAutoAudioSink {
-  GstBin parent;
+  GstAutoDetect parent;
 
-  /* explicit pointers to stuff used */
-  GstPad *pad;
-  GstElement *kid;
-  gboolean init;
+  GstClockTimeDiff ts_offset;
 } GstAutoAudioSink;
 
 typedef struct _GstAutoAudioSinkClass {
-  GstBinClass parent_class;
+  GstAutoDetectClass parent_class;
 } GstAutoAudioSinkClass;
 
-GType  gst_auto_audio_sink_get_type    (void);
+GType   gst_auto_audio_sink_get_type    (void);
 
 G_END_DECLS