cmProc4.c : cmRecdPlayInsertRecord() now sets frag.recdIdx field to the actual number of sample
frames read rather than the number allocated.
Este commit está contenido en:
padre
f2d06b68bd
commit
fd61da603f
@ -4386,6 +4386,8 @@ cmRC_t cmRecdPlayInsertRecord(cmRecdPlay* p, unsigned labelSymId, const
|
||||
if( cmAudioFileReadSample(afH,afInfo.frameCnt,chIdx,chCnt,p->frags[i].chArray, &actFrmCnt) != kOkAfRC )
|
||||
return cmCtxRtCondition(&p->obj, cmSubSysFailRC, "Read failed on the audio file '%s'.",cmStringNullGuard(wavFn));
|
||||
|
||||
p->frags[i].recdIdx = actFrmCnt;
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Cargando…
Referencia en una nueva incidencia
Block a user