Browse Source

cmAudDsp.c,cmMidiFilePlay.c: Changed cmMpInitialize() signature to use cmCtx_t according to convention.

master
kevin 11 years ago
parent
commit
c07243c4fd
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      cmAudDsp.c
  2. 1
    1
      cmMidiFilePlay.c

+ 1
- 1
cmAudDsp.c View File

@@ -650,7 +650,7 @@ cmAdRC_t cmAudDspAlloc( cmCtx_t* ctx, cmAdH_t* hp, cmMsgSendFuncPtr_t cbFunc, vo
650 650
   }
651 651
 
652 652
   // initialize the MIDI system
653
-  if( cmMpInitialize(NULL,NULL,p->midiPortBufByteCnt,"app",&ctx->rpt) != kOkMpRC )
653
+  if( cmMpInitialize(ctx,NULL,NULL,p->midiPortBufByteCnt,"app") != kOkMpRC )
654 654
   {
655 655
     rc = cmErrMsg(&p->err,kMidiSysFailAdRC,"The MIDI system initialization failed.");
656 656
     goto errLabel;

+ 1
- 1
cmMidiFilePlay.c View File

@@ -336,7 +336,7 @@ cmMfpRC_t cmMfpTest( const char* fn, cmCtx_t* ctx )
336 336
   unsigned        mdParserBufByteCnt = 1024;
337 337
 
338 338
   printf("Initializing MIDI Devices...\n");
339
-  cmMpInitialize( _cmMpCallbackTest, NULL, mdParserBufByteCnt,"app", &ctx->rpt );
339
+  cmMpInitialize( ctx, _cmMpCallbackTest, NULL, mdParserBufByteCnt,"app" );
340 340
 
341 341
   //mdReport();
342 342
 

Loading…
Cancel
Save