~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to ext/resindvd/rsnaudiodec.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-05-12 09:51:24 UTC
  • mto: (18.3.2 experimental) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20090512095124-ugy051q0n88kk9f8
Tags: upstream-0.10.11.2
Import upstream version 0.10.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GStreamer
 
2
 * Copyright (C) <2009> Jan Schmidt <thaytan@noraisin.net>
 
3
 *
 
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.
 
8
 *
 
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.
 
13
 *
 
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.
 
18
 */
 
19
 
 
20
#ifndef __RSNAUDIODEC_H__
 
21
#define __RSNAUDIODEC_H__
 
22
 
 
23
#include <gst/gst.h>
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
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))
 
32
 
 
33
GType           rsn_audiodec_get_type           (void) G_GNUC_CONST;
 
34
 
 
35
typedef struct _RsnAudioDec             RsnAudioDec;
 
36
typedef struct _RsnAudioDecClass        RsnAudioDecClass;
 
37
 
 
38
struct _RsnAudioDec {
 
39
  GstBin element;
 
40
 
 
41
  /* Our sink and source pads */
 
42
  GstPad *sinkpad;
 
43
  GstPad *srcpad;
 
44
 
 
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;
 
49
 
 
50
  GstElement *current_decoder;
 
51
  /* Current child's sink and source pads */
 
52
  GstPad *child_sink;
 
53
  GstPad *child_src;
 
54
};
 
55
 
 
56
struct _RsnAudioDecClass {
 
57
  GstBinClass parent_class;
 
58
};
 
59
 
 
60
G_END_DECLS
 
61
 
 
62
#endif /* __RSNAUDIODEC_H__ */