cmDspPgmKr.c : Removed 'midiInPort' resource string because the MIDI input
port does not require a device or port selector.
This commit is contained in:
parent
3dc64bb1c0
commit
921597e50d
@ -42,7 +42,6 @@ typedef struct
|
||||
const cmChar_t* measFn;
|
||||
const cmChar_t* recordDir;
|
||||
const cmChar_t* midiDevice;
|
||||
const cmChar_t* midiInPort;
|
||||
const cmChar_t* midiOutPort;
|
||||
} krRsrc_t;
|
||||
|
||||
@ -59,8 +58,7 @@ cmDspRC_t krLoadRsrc(cmDspSysH_t h, cmErr_t* err, krRsrc_t* r)
|
||||
cmDspRsrcString(h,&r->measFn, "measFn", NULL);
|
||||
cmDspRsrcString(h,&r->recordDir, "recordDir", NULL);
|
||||
cmDspRsrcString(h,&r->midiDevice, "midiDevice", NULL);
|
||||
cmDspRsrcString(h,&r->midiInPort, "midiOutPort", NULL);
|
||||
cmDspRsrcString(h,&r->midiOutPort, "midiInPort", NULL);
|
||||
cmDspRsrcString(h,&r->midiOutPort, "midiOutPort", NULL);
|
||||
|
||||
|
||||
|
||||
@ -797,7 +795,7 @@ cmDspRC_t _cmDspSysPgm_KrLive(cmDspSysH_t h, void** userPtrPtr )
|
||||
//unsigned compPreGrpSymId = cmDspSysPresetRegisterGroup(h,"tl_cmp");
|
||||
|
||||
|
||||
cmDspInst_t* mip = cmDspSysAllocInst(h, "MidiIn", NULL, 2, r.midiDevice, r.midiInPort);
|
||||
cmDspInst_t* mip = cmDspSysAllocInst(h, "MidiIn", NULL, 0);
|
||||
cmDspInst_t* mop = cmDspSysAllocInst(h, "MidiOut", NULL, 2, r.midiDevice, r.midiOutPort);
|
||||
cmDspInst_t* ai0p = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 0 );
|
||||
cmDspInst_t* ai1p = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user