fix ASSERT( iGotFrames <= iFrames )
This commit is contained in:
@@ -349,7 +349,7 @@ int PolyphaseFilter::ReadBuffer( State &State, float *pOut, int iSamplesOut ) co
|
|||||||
{
|
{
|
||||||
float *pOutOrig = pOut;
|
float *pOutOrig = pOut;
|
||||||
|
|
||||||
while( State.m_iFilled )
|
while( State.m_iFilled && iSamplesOut-- )
|
||||||
{
|
{
|
||||||
*pOut = State.m_fBuf[State.m_iBufNext];
|
*pOut = State.m_fBuf[State.m_iBufNext];
|
||||||
++pOut;
|
++pOut;
|
||||||
|
|||||||
Reference in New Issue
Block a user