![]() |
Skylicht Engine
|
Public Member Functions | |
| CZipAudioFileStream (const char *fileName) | |
| bool | isError () |
| virtual Skylicht::Audio::IStreamCursor * | createCursor () |
| Create a new cursor for this stream. | |
| Public Member Functions inherited from Skylicht::Audio::IStream | |
| virtual void | grab () |
| Increment reference count. | |
| virtual bool | drop () |
| Decrement reference count and delete if zero. | |
| int | getSampleRate () |
| Get expected sample rate (for recorder/procedural streams). | |
| int | getChannels () |
| Get number of channels (for recorder/procedural streams). | |
| void | setStreamAudio (int sampleRate, int channels) |
| Set stream audio properties. | |
| virtual void | uploadData (unsigned char *buffer, int size) |
| Upload new data to the stream (used in online/dynamic streams). | |
| virtual void | stopStream () |
| Stop the stream and clear buffers. | |
Protected Attributes | |
| std::string | m_fileName |
| io::IReadFile * | m_file |
| int | m_size |
| Protected Attributes inherited from Skylicht::Audio::IStream | |
| int | m_referenceCount |
| int | m_sampleRate |
| int | m_channels |
|
virtual |
Create a new cursor for this stream.
Implements Skylicht::Audio::IStream.