RageSoundReader::Read(char *) -> int16_t *. This was originally
char * based on the idea of supporting more than one sample type. I don't plan to do that (though I may change the sample type to float or int32).
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
int GetLength() const { return GetLengthConst(false); }
|
||||
int GetLength_Fast() const { return GetLengthConst(true); }
|
||||
int SetPosition( int iSample );
|
||||
int Read( char *pBuf, int iFrames );
|
||||
int Read( int16_t *pBuf, int iFrames );
|
||||
unsigned GetNumChannels() const { return Channels; }
|
||||
int GetSampleRate() const { return SampleRate; }
|
||||
int GetNextSourceFrame() const;
|
||||
|
||||
Reference in New Issue
Block a user