cmDspPgmKr.c : Added 'audio in' button to switch 'live' and 'simulate'
audio input between the recorded and audio input port.
This commit is contained in:
parent
ab9f8c0caa
commit
d235d22da5
@ -187,7 +187,8 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
|
||||
|
||||
cmDspSysNewPage(h,"Controls");
|
||||
cmDspInst_t* liveb= cmDspSysAllocInst(h,"Button", "live", 2, kCheckDuiId, 0.0 );
|
||||
cmDspInst_t* simb = cmDspSysAllocInst(h,"Button", "simulate",2,kCheckDuiId, 0.0 );
|
||||
cmDspInst_t* simb = cmDspSysAllocInst(h,"Button", "simulate",2, kCheckDuiId, 0.0 );
|
||||
cmDspInst_t* ainb = cmDspSysAllocInst(h,"Button", "audio in",2, kCheckDuiId, 0.0 );
|
||||
cmDspInst_t* onb = cmDspSysAllocInst(h,"Button", "start", 2, kButtonDuiId, 1.0 );
|
||||
cmDspInst_t* offb = cmDspSysAllocInst(h,"Button", "stop", 2, kButtonDuiId, 1.0 );
|
||||
cmDspInst_t* prtb = cmDspSysAllocInst(h,"Button", "print", 2, kButtonDuiId, 1.0 );
|
||||
@ -416,8 +417,9 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
|
||||
cmDspSysInstallCb(h, liveb, "out", au1Sw, "chidx", NULL );
|
||||
|
||||
// 'simulate' button -> simulate router selector switch
|
||||
cmDspSysInstallCb(h, simb, "out", au0Sw, "chidx", NULL );
|
||||
cmDspSysInstallCb(h, simb, "out", au1Sw, "chidx", NULL );
|
||||
cmDspSysInstallCb(h, simb, "out", ainb, "in", NULL );
|
||||
cmDspSysInstallCb(h, ainb, "out", au0Sw, "chidx", NULL );
|
||||
cmDspSysInstallCb(h, ainb, "out", au1Sw, "chidx", NULL );
|
||||
cmDspSysInstallCb(h, simb, "out", siRt, "sel", NULL );
|
||||
cmDspSysInstallCb(h, simb, "out", d1Rt, "sel", NULL );
|
||||
cmDspSysInstallCb(h, simb, "out", d0Rt, "sel", NULL );
|
||||
|
Loading…
Reference in New Issue
Block a user