source: roaraudio/plugins/gstreamer0.10/roarsink.h @ 5439:7950543cabbc

Last change on this file since 5439:7950543cabbc was 5381:430b1d26e12d, checked in by phi, 12 years ago

updated copyright years

File size: 2.2 KB
Line 
1//roarsink.h:
2/* GStreamer
3 * Copyright (C) <2005>      Arwed v. Merkatz <v.merkatz@gmx.net>
4 * Copyright (C) <2008-2012> Philipp 'ph3-der-loewe' Schafft
5 *                                    <lion@lion.leolix.org>
6 *
7 * roarsink.h: an RoarAudio audio sink
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, 51 Franklin Street, Fifth Floor,
22 * Boston, MA 02111-1307, USA.
23 */
24
25
26#ifndef __GST_ROARSINK_H__
27#define __GST_ROARSINK_H__
28
29#include <gst/gst.h>
30#include <gst/audio/gstaudiosink.h>
31#include <roaraudio.h>
32
33#define VERSION "0.0.1"
34#define PACKAGE "gst-plugins"
35#define GST_PACKAGE_ORIGIN "Unknown package origin"
36#define GST_PACKAGE_NAME "GStreamer Plug-ins source release"
37
38G_BEGIN_DECLS
39
40#define GST_TYPE_ROARSINK \
41  (gst_roarsink_get_type())
42#define GST_ROARSINK(obj) \
43  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_ROARSINK,GstRoarSink))
44#define GST_ROARSINK_CLASS(klass) \
45  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_ROARSINK,GstRoarSinkClass))
46#define GST_IS_ROARSINK(obj) \
47  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_ROARSINK))
48#define GST_IS_ROARSINK_CLASS(klass) \
49  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_ROARSINK))
50
51typedef struct _GstRoarSink GstRoarSink;
52typedef struct _GstRoarSinkClass GstRoarSinkClass;
53
54struct _GstRoarSink {
55  GstAudioSink   sink;
56
57  roar_vs_t * vss;
58
59  gchar    *host;
60  gchar    *role;
61
62  float     volume;
63  int       mute;
64
65  GstCaps  *cur_caps;
66};
67
68struct _GstRoarSinkClass {
69  GstAudioSinkClass parent_class;
70};
71
72GType gst_roarsink_get_type(void);
73gboolean gst_roarsink_factory_init (GstPlugin *plugin);
74
75
76G_END_DECLS
77
78#endif /* __GST_ROARSINK_H__ */
Note: See TracBrowser for help on using the repository browser.