RageSoundReader::Read(buf, unsigned bytes) -> (buf, int frames);
return value in frames, not bytes
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
int GetLength_Fast() const;
|
||||
int SetPosition_Accurate( int iFrame );
|
||||
int SetPosition_Fast( int iFrame );
|
||||
int Read( char *pBuffer, unsigned iLength );
|
||||
int Read( char *pBuffer, int iLength );
|
||||
int GetSampleRate() const { return m_iSampleRate; }
|
||||
unsigned GetNumChannels() const { return m_iChannels; }
|
||||
bool IsStreamingFromDisk() const { return false; }
|
||||
|
||||
Reference in New Issue
Block a user