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