RageSoundReader::Read(buf, unsigned bytes) -> (buf, int frames);

return value in frames, not bytes
This commit is contained in:
Glenn Maynard
2006-12-10 03:56:36 +00:00
parent 7bcb489288
commit 25e67dd4dc
23 changed files with 112 additions and 117 deletions
+1 -1
View File
@@ -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; }