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:
@@ -10,7 +10,7 @@ class RageSoundReader_Extend: public RageSoundReader_Filter
|
||||
public:
|
||||
RageSoundReader_Extend( RageSoundReader *pSource );
|
||||
virtual int SetPosition( int iFrame );
|
||||
virtual int Read( char *pBuffer, int iFrames );
|
||||
virtual int Read( int16_t *pBuffer, int iFrames );
|
||||
virtual int GetNextSourceFrame() const;
|
||||
virtual bool SetProperty( const RString &sProperty, float fValue );
|
||||
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
|
||||
private:
|
||||
int GetEndFrame() const;
|
||||
int GetData( char *pBuffer, int iFrames );
|
||||
int GetData( int16_t *pBuffer, int iFrames );
|
||||
|
||||
int m_iPositionFrames;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user