|
|
|
|
4383
|
unsigned chIdx = 0;
|
4383
|
unsigned chIdx = 0;
|
4384
|
unsigned chCnt = cmMin(p->chCnt,afInfo.chCnt);
|
4384
|
unsigned chCnt = cmMin(p->chCnt,afInfo.chCnt);
|
4385
|
unsigned actFrmCnt = 0;
|
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
|
return cmCtxRtCondition(&p->obj, cmSubSysFailRC, "Read failed on the audio file '%s'.",cmStringNullGuard(wavFn));
|
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
|
return cmCtxRtCondition( &p->obj, cmInvalidArgRC, "The fragment label symbol id '%i' not found for 'begin record'.",labelSymId);
|
4392
|
return cmCtxRtCondition( &p->obj, cmInvalidArgRC, "The fragment label symbol id '%i' not found for 'begin record'.",labelSymId);
|