fix RageSoundReader_Split::SetPosition(0)

This commit is contained in:
Glenn Maynard
2006-12-22 08:11:58 +00:00
parent 3a1d1e129f
commit be8c435569
@@ -119,7 +119,12 @@ RageSoundReader_Split::~RageSoundReader_Split()
int RageSoundReader_Split::SetPosition( int iFrame )
{
m_iPositionFrame = iFrame;
return iFrame;
/* We can't tell whether we're past EOF. We can't ReadBuffer here, because the
* other sounds using this same source probably havn't seeked yet, so seeking
* to the beginning of the file would buffer between there and the position
* of those sounds. Just return success, and we'll return EOF in Read if needed. */
return 1;
}
bool RageSoundReader_Split::SetProperty( const RString &sProperty, float fValue )