diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-01-29 01:28:34 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2005-01-29 01:28:34 +0000 |
commit | f6b6f72c1c30de3334306e73000ebeb4a054a2b2 (patch) | |
tree | 8cab91cf09927cb278504c1636fb9f9e0e45654a /ext/musepack/gstmusepackreader.h | |
parent | 6af0bb76f1dcc0beb019c7bd4fd63dba33fb47e0 (diff) | |
download | gst-plugins-bad-f6b6f72c1c30de3334306e73000ebeb4a054a2b2.tar.gz gst-plugins-bad-f6b6f72c1c30de3334306e73000ebeb4a054a2b2.tar.bz2 gst-plugins-bad-f6b6f72c1c30de3334306e73000ebeb4a054a2b2.zip |
Update to 1.1 API (#165446).
Original commit message from CVS:
* configure.ac:
* ext/musepack/Makefile.am:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_class_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_src_query), (gst_musepackdec_src_convert),
(gst_musepack_stream_init), (gst_musepackdec_loop),
(gst_musepackdec_change_state):
* ext/musepack/gstmusepackdec.cpp:
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c: (gst_musepack_reader_peek),
(gst_musepack_reader_read), (gst_musepack_reader_seek),
(gst_musepack_reader_tell), (gst_musepack_reader_get_size),
(gst_musepack_reader_canseek), (gst_musepack_init_reader):
* ext/musepack/gstmusepackreader.cpp:
* ext/musepack/gstmusepackreader.h:
Update to 1.1 API (#165446).
Diffstat (limited to 'ext/musepack/gstmusepackreader.h')
-rw-r--r-- | ext/musepack/gstmusepackreader.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/ext/musepack/gstmusepackreader.h b/ext/musepack/gstmusepackreader.h index 9010dc47..2aa2edd2 100644 --- a/ext/musepack/gstmusepackreader.h +++ b/ext/musepack/gstmusepackreader.h @@ -20,24 +20,9 @@ #ifndef __GST_MUSEPACK_READER_H__ #define __GST_MUSEPACK_READER_H__ -#include <musepack/mpc_dec.h> +#include <musepack/musepack.h> #include <gst/bytestream/bytestream.h> -class GstMusepackReader : public MPC_reader { -public: - GstMusepackReader (GstByteStream *bs); - virtual ~GstMusepackReader (void); - - mpc_int32_t read (void * ptr, mpc_int32_t size); - bool seek (mpc_int32_t offset); - mpc_int32_t tell (void); - mpc_int32_t get_size (void); - bool canseek (void); - - bool eos; - -private: - GstByteStream *bs; -}; +void gst_musepack_init_reader (mpc_reader * r, GstByteStream * bs); #endif /* __GST_MUSEPACK_READER_H__ */ |