|
@@ -4383,9 +4383,10 @@ cmRC_t cmRecdPlayInsertRecord(cmRecdPlay* p, unsigned labelSymId, const
|
4383
|
4383
|
unsigned chIdx = 0;
|
4384
|
4384
|
unsigned chCnt = cmMin(p->chCnt,afInfo.chCnt);
|
4385
|
4385
|
unsigned actFrmCnt = 0;
|
4386
|
|
- if( cmAudioFileReadSample(afH,afInfo.frameCnt,chIdx,chCnt,&p->frags[i].chArray, &actFrmCnt) != kOkAfRC )
|
|
4386
|
+ if( cmAudioFileReadSample(afH,afInfo.frameCnt,chIdx,chCnt,p->frags[i].chArray, &actFrmCnt) != kOkAfRC )
|
4387
|
4387
|
return cmCtxRtCondition(&p->obj, cmSubSysFailRC, "Read failed on the audio file '%s'.",cmStringNullGuard(wavFn));
|
4388
|
4388
|
|
|
4389
|
+ return rc;
|
4389
|
4390
|
}
|
4390
|
4391
|
|
4391
|
4392
|
return cmCtxRtCondition( &p->obj, cmInvalidArgRC, "The fragment label symbol id '%i' not found for 'begin record'.",labelSymId);
|