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

This commit is contained in:
kevin 2013-03-24 12:54:11 -07:00
parent 7adaa96d90
commit c07243c4fd
2 changed files with 2 additions and 2 deletions

View File

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

View File

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