add inherited get methods from stream decoder in file decoder also
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 4 Jun 2002 06:00:09 +0000 (06:00 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 4 Jun 2002 06:00:09 +0000 (06:00 +0000)
include/FLAC++/decoder.h

index ecf545a34e98b21149731e90cdca07f420588d33..02c89924a643773bed8114888ef5fb2daf90d98e 100644 (file)
@@ -147,11 +147,19 @@ namespace FLAC {
 
                        State get_state() const;
                        bool get_md5_checking() const;
+                       unsigned get_channels() const;
+                       ::FLAC__ChannelAssignment get_channel_assignment() const;
+                       unsigned get_bits_per_sample() const;
+                       unsigned get_sample_rate() const;
+                       unsigned get_blocksize() const;
 
                        State init();
 
                        bool finish();
 
+                       bool flush();
+                       bool reset();
+
                        bool process_whole_stream();
                        bool process_metadata();
                        bool process_one_frame();
@@ -218,6 +226,11 @@ namespace FLAC {
 
                        State get_state() const;
                        bool get_md5_checking() const;
+                       unsigned get_channels() const;
+                       ::FLAC__ChannelAssignment get_channel_assignment() const;
+                       unsigned get_bits_per_sample() const;
+                       unsigned get_sample_rate() const;
+                       unsigned get_blocksize() const;
 
                        State init();