|
enum | OpenResult { OPEN_OK
, OPEN_UNKNOWN_FILE_FORMAT = 1
, OPEN_FATAL_ERROR = 2
} |
|
enum | { RSRERROR = -1
, END_OF_FILE = -2
, WOULD_BLOCK = -3
, STREAM_LOOPED = -4
} |
|
static RageSoundReader_FileReader * | OpenFile (const std::string &filename, std::string &error, bool *pPrebuffer=NULL) |
|
void | SetError (const std::string &sError) const |
|
std::unique_ptr< RageFileBasic > | m_pFile |
|
◆ Copy()
◆ GetLength()
int RageSoundReader_MP3::GetLength |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetLength_Fast()
int RageSoundReader_MP3::GetLength_Fast |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetNextSourceFrame()
int RageSoundReader_MP3::GetNextSourceFrame |
( |
| ) |
const |
|
overridevirtual |
◆ GetNumChannels()
unsigned RageSoundReader_MP3::GetNumChannels |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSampleRate()
int RageSoundReader_MP3::GetSampleRate |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Open()
RageSoundReader_FileReader::OpenResult RageSoundReader_MP3::Open |
( |
RageFileBasic * |
pFile | ) |
|
|
overridevirtual |
◆ Read()
int RageSoundReader_MP3::Read |
( |
float * |
pBuf, |
|
|
int |
iFrames |
|
) |
| |
|
overridevirtual |
◆ SetPosition()
int RageSoundReader_MP3::SetPosition |
( |
int |
iSample | ) |
|
|
overridevirtual |
◆ SetProperty()
bool RageSoundReader_MP3::SetProperty |
( |
const std::string & |
sProperty, |
|
|
float |
fValue |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files:
- /home/runner/work/etterna/etterna/src/RageUtil/Sound/RageSoundReader_MP3.h
- /home/runner/work/etterna/etterna/src/RageUtil/Sound/RageSoundReader_MP3.cpp