don't clamp iFrames when seeking
This commit is contained in:
@@ -623,9 +623,7 @@ bool RageSound::SetPositionFrames( int iFrames )
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iSeekFrames = max( iFrames, 0 );
|
int iRet = m_pSource->SetPosition( iFrames );
|
||||||
|
|
||||||
int iRet = m_pSource->SetPosition( iSeekFrames );
|
|
||||||
if( iRet == -1 )
|
if( iRet == -1 )
|
||||||
{
|
{
|
||||||
Fail( m_pSource->GetError() );
|
Fail( m_pSource->GetError() );
|
||||||
|
|||||||
Reference in New Issue
Block a user