Pārlūkot izejas kodu

cmProc4.c : fixed call to cmAudioFileReadSample() in cmRecdPlayInsertRecord().

master
kevin 11 gadus atpakaļ
vecāks
revīzija
f2d06b68bd
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      cmProc4.c

+ 2
- 1
cmProc4.c Parādīt failu

@@ -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);    

Notiek ielāde…
Atcelt
Saglabāt