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:
@@ -6,7 +6,7 @@
|
||||
REGISTER_CLASS_TRAITS( RageSoundReader, pCopy->Copy() );
|
||||
|
||||
/* Read(), handling the STREAM_LOOPED and empty return cases. */
|
||||
int RageSoundReader::RetriedRead( char *pBuffer, int iFrames, int *iSourceFrame, float *fRate )
|
||||
int RageSoundReader::RetriedRead( int16_t *pBuffer, int iFrames, int *iSourceFrame, float *fRate )
|
||||
{
|
||||
if( iFrames == 0 )
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user