#include <RageSoundReader_Chain.h>
Inheritance diagram for RageSoundReader_Chain:
Public Member Functions | |
RageSoundReader_Chain () | |
~RageSoundReader_Chain () | |
SoundReader * | Copy () const |
void | SetPreferredSampleRate (int iSampleRate) |
bool | AddSound (CString sPath, float fOffsetSecs, float fPan) |
void | Finish () |
int | GetLength () const |
int | GetLength_Fast () const |
int | SetPosition_Accurate (int ms) |
int | SetPosition_Fast (int ms) |
int | Read (char *buf, unsigned len) |
int | GetSampleRate () const |
unsigned | GetNumChannels () const |
bool | IsStreamingFromDisk () const |
Private Member Functions | |
int | ReadBlock (int16_t *pBuffer, int iFrames) |
int | GetSampleRateInternal () const |
unsigned | GetNextSoundIndex () const |
unsigned | ActivateSound (const sound &s) |
void | ReleaseSound (unsigned n) |
Private Attributes | |
int | m_iPreferredSampleRate |
int | m_iActualSampleRate |
unsigned | m_iChannels |
map< CString, SoundReader * > | m_apLoadedSounds |
vector< sound > | m_Sounds |
int | m_iCurrentFrame |
unsigned | m_iNextSound |
vector< ActiveSound > | m_apActiveSounds |
|
|
|
|
|
|
|
|
|
Implements SoundReader. |
|
|
|
Implements SoundReader. |
|
Reimplemented from SoundReader. |
|
|
|
Reimplemented from SoundReader. |
|
Implements SoundReader. |
|
|
|
Implements SoundReader. |
|
Implements SoundReader. |
|
|
|
|
|
Implements SoundReader. |
|
Reimplemented from SoundReader. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|