cmAudDsp.c,cmMidiFilePlay.c: Changed cmMpInitialize() signature to use cmCtx_t according to convention.
This commit is contained in:
parent
7adaa96d90
commit
c07243c4fd
@ -650,7 +650,7 @@ cmAdRC_t cmAudDspAlloc( cmCtx_t* ctx, cmAdH_t* hp, cmMsgSendFuncPtr_t cbFunc, vo
|
||||
}
|
||||
|
||||
// initialize the MIDI system
|
||||
if( cmMpInitialize(NULL,NULL,p->midiPortBufByteCnt,"app",&ctx->rpt) != kOkMpRC )
|
||||
if( cmMpInitialize(ctx,NULL,NULL,p->midiPortBufByteCnt,"app") != kOkMpRC )
|
||||
{
|
||||
rc = cmErrMsg(&p->err,kMidiSysFailAdRC,"The MIDI system initialization failed.");
|
||||
goto errLabel;
|
||||
|
@ -336,7 +336,7 @@ cmMfpRC_t cmMfpTest( const char* fn, cmCtx_t* ctx )
|
||||
unsigned mdParserBufByteCnt = 1024;
|
||||
|
||||
printf("Initializing MIDI Devices...\n");
|
||||
cmMpInitialize( _cmMpCallbackTest, NULL, mdParserBufByteCnt,"app", &ctx->rpt );
|
||||
cmMpInitialize( ctx, _cmMpCallbackTest, NULL, mdParserBufByteCnt,"app" );
|
||||
|
||||
//mdReport();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user