no error here
This commit is contained in:
@@ -65,11 +65,7 @@ bool RageSoundReader_Preload::Open( RageSoundReader *pSource )
|
||||
int iCnt = pSource->Read( buffer, sizeof(buffer) / iBytesPerFrame );
|
||||
|
||||
if( iCnt < 0 )
|
||||
{
|
||||
/* XXX untested */
|
||||
SetError(pSource->GetError());
|
||||
return false;
|
||||
}
|
||||
if( iCnt == END_OF_FILE )
|
||||
break;
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ public:
|
||||
bool IsStreamingFromDisk() const { return false; }
|
||||
int GetNextSourceFrame() const;
|
||||
float GetStreamToSourceRatio() const { return m_fRate; }
|
||||
RString GetError() const { return ""; }
|
||||
|
||||
/* Return the total number of copies of this sound. (If 1 is returned,
|
||||
* this is the last copy.) */
|
||||
|
||||
Reference in New Issue
Block a user