summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssrc.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-12-07 14:25:18 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-12-07 14:25:18 +0000
commitf5743b63de97d7d5bba29dc769387b42a092cb82 (patch)
treedb76949c6ceede015d63a0646ca8bfdd9c2d24c3 /sys/oss/gstosssrc.h
parent3a96272da6c4f8078db4a4236cc6b6f88d4d39ea (diff)
Some cleanups and refactoring make ossrc do good negotiation
Original commit message from CVS: Some cleanups and refactoring make ossrc do good negotiation
Diffstat (limited to 'sys/oss/gstosssrc.h')
-rw-r--r--sys/oss/gstosssrc.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/sys/oss/gstosssrc.h b/sys/oss/gstosssrc.h
index 5109c3c4..0c082a17 100644
--- a/sys/oss/gstosssrc.h
+++ b/sys/oss/gstosssrc.h
@@ -28,11 +28,7 @@
#include <config.h>
#include <gst/gst.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_OSSSRC \
(gst_osssrc_get_type())
@@ -67,11 +63,14 @@ struct _GstOssSrc {
gint fd;
/* audio parameters */
- gint format;
+ gint law;
+ gint endianness;
+ gint sign;
+ gint width;
+ gint depth;
+ gint rate;
gint channels;
- gint frequency;
- gboolean need_sync; /* Do the parameters need resynced? */
gboolean need_eos; /* Do we need to emit an EOS? */
/* blocking */
@@ -90,9 +89,6 @@ GType gst_osssrc_get_type(void);
gboolean gst_osssrc_factory_init (GstPlugin *plugin);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_OSSSRC_H__ */