alaw-decode.h 1.63 KB
Newer Older
Christian Schaller's avatar
Christian Schaller committed
1
/* GStreamer
Andy Wingo's avatar
Andy Wingo committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * 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.
 */


#ifndef __GST_ALAWDECODE_H__
#define __GST_ALAWDECODE_H__

#include <gst/gst.h>

26
G_BEGIN_DECLS
Andy Wingo's avatar
Andy Wingo committed
27 28 29 30 31 32

#define GST_TYPE_ALAWDEC \
  (gst_alawdec_get_type())
#define GST_ALAWDEC(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_ALAWDEC,GstALawDec))
#define GST_ALAWDEC_CLASS(klass) \
33
  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ALAWDEC,GstALawDecClass))
Andy Wingo's avatar
Andy Wingo committed
34 35
#define GST_IS_ALAWDEC(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ALAWDEC))
36
#define GST_IS_ALAWDEC_CLASS(klass) \
Andy Wingo's avatar
Andy Wingo committed
37 38
  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ALAWDEC))

Johan Dahlin's avatar
Johan Dahlin committed
39 40
typedef struct _GstALawDec GstALawDec;
typedef struct _GstALawDecClass GstALawDecClass;
Andy Wingo's avatar
Andy Wingo committed
41

Johan Dahlin's avatar
Johan Dahlin committed
42 43
struct _GstALawDec {
  GstElement element;
Andy Wingo's avatar
Andy Wingo committed
44

Johan Dahlin's avatar
Johan Dahlin committed
45
  GstPad *sinkpad,*srcpad;
46
  GstCaps *srccaps;
Johan Dahlin's avatar
Johan Dahlin committed
47
};
Andy Wingo's avatar
Andy Wingo committed
48

Johan Dahlin's avatar
Johan Dahlin committed
49 50 51
struct _GstALawDecClass {
  GstElementClass parent_class;
};
Andy Wingo's avatar
Andy Wingo committed
52

Johan Dahlin's avatar
Johan Dahlin committed
53
GType gst_alawdec_get_type(void);
Andy Wingo's avatar
Andy Wingo committed
54

55
G_END_DECLS
Andy Wingo's avatar
Andy Wingo committed
56

Johan Dahlin's avatar
Johan Dahlin committed
57
#endif /* __GST_STEREO_H__ */