summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosssrc.h
diff options
context:
space:
mode:
authorIain Holmes <iain@prettypeople.org>2002-12-03 00:36:54 +0000
committerIain Holmes <iain@prettypeople.org>2002-12-03 00:36:54 +0000
commit2c758796f5edd377fc7918ceccbab8f3bee433c5 (patch)
tree49b5072961d48cd837207e26678cfec49b9d3bad /sys/oss/gstosssrc.h
parent8fb4f4b12eb98102ffa370c47e192c98c42f3ce2 (diff)
Make the OSSSrc set the correct rate/number of channels as set in the GstCaps.
Original commit message from CVS: Make the OSSSrc set the correct rate/number of channels as set in the GstCaps. Handle state changes correctly according to docs/random/wtay/states
Diffstat (limited to 'sys/oss/gstosssrc.h')
-rw-r--r--sys/oss/gstosssrc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/oss/gstosssrc.h b/sys/oss/gstosssrc.h
index 1ba2a042..343190ea 100644
--- a/sys/oss/gstosssrc.h
+++ b/sys/oss/gstosssrc.h
@@ -70,12 +70,14 @@ struct _GstOssSrc {
gint format;
gint channels;
gint frequency;
-
+ gboolean need_sync; /* Do the parameters need resynced? */
+
/* blocking */
guint64 basetime;
guint64 samples_since_basetime;
gulong curoffset;
gulong bytes_per_read;
+
};
struct _GstOssSrcClass {