cfg/main.cfg : Remove dead code, and update websockSrv tester to use cfg. provided parameters rather than hard coded values.
This commit is contained in:
parent
db8dbbe400
commit
30721b0746
@ -34,8 +34,15 @@
|
||||
}
|
||||
|
||||
websockSrv: {
|
||||
physRootDir: "~/src/cwtest/src/libcw/html/websockSrvTest",
|
||||
dfltHtmlPageFn: "test_websocket.html",
|
||||
|
||||
physRootDir: "~/src/cwtest/src/libcw/html/websockSrvTest", // path to 'dfltHtmlPageFn'
|
||||
dfltHtmlPageFn: "test_websocket.html", // websockets enabled HTML/JS app
|
||||
port: 5687, // websocket port
|
||||
rcvBufByteN: 128, // incoming msg's larger than this will be broken into multiple parts
|
||||
xmtBufByteN: 128, // outgoing msg's larger than this will be broken into multiple parts
|
||||
queueBlkCnt: 3, // count of memory blocks in the non-blocking queue (See: cwNbMpScQueue)
|
||||
queueBlkByteCnt: 4096, // size of each non-blocking memory block
|
||||
timeOutMs: 50, // milliseconds to block waiting for incoming websock messages
|
||||
},
|
||||
|
||||
serialSrv: {},
|
||||
@ -68,35 +75,7 @@
|
||||
]
|
||||
},
|
||||
|
||||
/*
|
||||
midiSource: {
|
||||
fname: "~/temp/test.mid",
|
||||
src: {
|
||||
ticks_per_quarter: 480,
|
||||
noteL: [
|
||||
{ tempo : 120 },
|
||||
{ bar: 1 }
|
||||
{ meter: [ 4, 4 ] },
|
||||
{ voiceL: [ [
|
||||
{ b : [ Cs3, mf ] }, // 1st beat : qtr note
|
||||
{ b : [ [E1 B3] , p ] }, // 2nd beat : two 8ths at p
|
||||
{ b : [ [E2 [A1 B2]] , mf ] }, // 3rd beat : 8th and two 16ths
|
||||
{ b : [ [E3 [A1 [B2 p]]] , mf ] }, // 4th beat : 8th and two 16ths w/ dyn
|
||||
{ b : [ [E4 [R r.]]
|
||||
]]
|
||||
{ bar: 2 }
|
||||
]
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
midiFileDev: {
|
||||
fname: "/home/kevin/src/cwtest/src/cwtest/cfg/gutim_full/data1/beck2/record_5/midi.mid"
|
||||
},
|
||||
|
||||
//textBuf: {},
|
||||
//audioBuf: {},
|
||||
//audioDev: {},
|
||||
audioDevAlsa: {},
|
||||
audioDevRpt: {}, // print a list of audio device
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user