2
* Copyright (C) <2009> Jan Schmidt <thaytan@noraisin.net>
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Library General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Library General Public License for more details.
14
* You should have received a copy of the GNU Library General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
20
#ifndef __RSNAUDIODEC_H__
21
#define __RSNAUDIODEC_H__
27
#define RSN_TYPE_AUDIODEC (rsn_audiodec_get_type())
28
#define RSN_AUDIODEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),RSN_TYPE_AUDIODEC,RsnAudioDec))
29
#define RSN_AUDIODEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),RSN_TYPE_AUDIODEC,RsnAudioDecClass))
30
#define RSN_IS_AUDIODEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),RSN_TYPE_AUDIODEC))
31
#define RSN_IS_AUDIODEC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),RSN_TYPE_AUDIODEC))
33
GType rsn_audiodec_get_type (void) G_GNUC_CONST;
35
typedef struct _RsnAudioDec RsnAudioDec;
36
typedef struct _RsnAudioDecClass RsnAudioDecClass;
41
/* Our sink and source pads */
45
/* Proxy pads that are linked to the child sink pad
46
* and source pad respectively */
47
GstPad *child_sink_proxy;
48
GstPad *child_src_proxy;
50
GstElement *current_decoder;
51
/* Current child's sink and source pads */
56
struct _RsnAudioDecClass {
57
GstBinClass parent_class;
62
#endif /* __RSNAUDIODEC_H__ */