no error here

This commit is contained in:
Glenn Maynard
2006-12-23 07:00:28 +00:00
parent ce3ba75e23
commit cc043b3d16
2 changed files with 1 additions and 4 deletions
@@ -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;
+1
View File
@@ -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.) */