diff options
author | Andy Wingo <wingo@pobox.com> | 2003-07-16 16:08:13 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2003-07-16 16:08:13 +0000 |
commit | 2ff63e563b21cac87489a0d989c3aa957d5f2fb9 (patch) | |
tree | 614234db5c4422d29fd25866d20b9c4cdc8729f0 /ext/sndfile/gstsf.h | |
parent | 0e04196b7136fee8628669a769838ecf78416dea (diff) | |
download | gst-plugins-bad-2ff63e563b21cac87489a0d989c3aa957d5f2fb9.tar.gz gst-plugins-bad-2ff63e563b21cac87489a0d989c3aa957d5f2fb9.tar.bz2 gst-plugins-bad-2ff63e563b21cac87489a0d989c3aa957d5f2fb9.zip |
actually recurse into sndfile if we are able big ladspa cleanups, mainly to comply with the buffer-frames caps proper...
Original commit message from CVS:
* actually recurse into sndfile if we are able
* big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general
cleanups
- the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins)
you need to use a filtered connection, just like with buffer-frames
* big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit
simpler
* make the ossclock general, add it to gstaudio, and use it in sndfile as well
i need to update mimetypes, but that's coming soon. there are some other plugins that don't
support buffer-frames, i guess i need to get around to fixing them as well.
Diffstat (limited to 'ext/sndfile/gstsf.h')
-rw-r--r-- | ext/sndfile/gstsf.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ext/sndfile/gstsf.h b/ext/sndfile/gstsf.h index 1a8e6eaa..3197effd 100644 --- a/ext/sndfile/gstsf.h +++ b/ext/sndfile/gstsf.h @@ -1,9 +1,5 @@ -/* GStreamer - * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu> - * 2000 Wim Taymans <wtay@chello.be> - * 2003 Andy Wingo <wingo at pobox dot com> - * - * gstsf.c: libsndfile plugin for GStreamer +/* GStreamer libsndfile plugin + * Copyright (C) 2003 Andy Wingo <wingo at pobox dot com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -87,6 +83,8 @@ struct _GstSF { GstElement element; GList *channels; + GstClock *clock, *provided_clock; + gchar *filename; SNDFILE *file; void *buffer; @@ -98,7 +96,11 @@ struct _GstSF { gint format_major; gint format_subtype; gint format; + gint rate; + gint buffer_frames; + + guint64 time; }; struct _GstSFClass { |