Public Member Functions | |
| ChewyVocStream (Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse) | |
Public Member Functions inherited from Audio::VocStream | |
| VocStream (Common::SeekableReadStream *stream, bool isUnsigned, DisposeAfterUse::Flag disposeAfterUse) | |
| int | readBuffer (int16 *buffer, const int numSamples) override |
| bool | isStereo () const override |
| int | getRate () const override |
| bool | endOfData () const override |
| bool | seek (const Timestamp &where) override |
| Timestamp | getLength () const override |
Public Member Functions inherited from Audio::SeekableAudioStream | |
| bool | seek (uint32 where) |
| virtual bool | rewind () |
Public Member Functions inherited from Audio::AudioStream | |
| virtual bool | endOfStream () const |
Protected Member Functions | |
| void | removeHeaders () |
Protected Member Functions inherited from Audio::VocStream | |
| void | preProcess () |
| void | updateBlockIfNeeded () |
| int | fillBuffer (int maxSamples) |
Static Protected Attributes | |
| static const uint32 | FOURCC_SCRS = MKTAG('S', 'C', 'R', 'S') |
| static const uint32 | FOURCC_RIFF = MKTAG('R', 'I', 'F', 'F') |
Additional Inherited Members | |
Static Public Member Functions inherited from Audio::SeekableAudioStream | |
| static SeekableAudioStream * | openStreamFile (const Common::Path &basename) |
Protected Types inherited from Audio::VocStream | |
| enum | { kSampleBufferLength = 2048 } |
| typedef Common::List< Block > | BlockList |
Protected Attributes inherited from Audio::VocStream | |
| Common::SeekableReadStream *const | _stream |
| const DisposeAfterUse::Flag | _disposeAfterUse |
| const bool | _isUnsigned |
| int | _rate |
| Timestamp | _length |
| BlockList | _blocks |
| BlockList::const_iterator | _curBlock |
| uint32 | _blockLeft |
| byte | _buffer [kSampleBufferLength] |