1 #ifndef __FMtownsDecoderStream_h__ 2 #define __FMtownsDecoderStream_h__ 22 #include "ultima/nuvie/sound/decoder/random_collection_audio_stream.h" 34 should_free_raw_data =
false;
35 raw_audio_buf =
nullptr;
42 uint32 getLengthInMsec();
44 int readBuffer(sint16 *buffer,
const int numSamples)
override;
64 return buf_pos >= buf_len;
74 bool should_free_raw_data;
75 unsigned char *raw_audio_buf;
80 inline sint16 convertSample(uint16 rawSample)
const;
Definition: fm_towns_decoder_stream.h:31
bool isStereo() const override
Definition: fm_towns_decoder_stream.h:47
Definition: detection.h:27
int getRate() const override
Definition: fm_towns_decoder_stream.h:52
bool rewind() override
Definition: fm_towns_decoder_stream.h:67
Definition: audiostream.h:109
int readBuffer(sint16 *buffer, const int numSamples) override
bool endOfData() const override
Definition: fm_towns_decoder_stream.h:63