1 /* GStreamer OSS Mixer implementation
2 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
4 * gstossmixer.h: mixer interface implementation for OSS
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __GST_OSS_MIXER_H__
23 #define __GST_OSS_MIXER_H__
26 #include <gst/mixer/mixer.h>
27 #include "gstosselement.h"
30 #define GST_TYPE_OSSMIXER_TRACK \
31 (gst_ossmixer_track_get_type ())
32 #define GST_OSSMIXER_TRACK(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_OSSMIXER_TRACK, \
35 #define GST_OSSMIXER_TRACK_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_OSSMIXER_TRACK, \
37 GstOssMixerTrackClass))
38 #define GST_IS_OSSMIXER_TRACK(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_OSSMIXER_TRACK))
40 #define GST_IS_OSSMIXER_TRACK_CLASS(klass) \
41 (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_OSSMIXER_TRACK))
42 typedef struct _GstOssMixerTrack
50 typedef struct _GstOssMixerTrackClass
52 GstMixerTrackClass parent;
53 } GstOssMixerTrackClass;
55 GType gst_ossmixer_track_get_type (void);
57 void gst_ossmixer_interface_init (GstMixerClass * klass);
58 void gst_oss_interface_init (GstImplementsInterfaceClass * klass);
59 void gst_ossmixer_build_list (GstOssElement * oss);
60 void gst_ossmixer_free_list (GstOssElement * oss);
63 #endif /* __GST_OSS_MIXER_H__ */