68 |
pszResult = "ENGINE_NAME: DummyEngine\r\n" |
pszResult = "ENGINE_NAME: DummyEngine\r\n" |
69 |
"INSTRUMENT_FILE: DummyInstrument.gig\r\n" |
"INSTRUMENT_FILE: DummyInstrument.gig\r\n" |
70 |
"INSTRUMENT_NR: 0\r\n" |
"INSTRUMENT_NR: 0\r\n" |
71 |
|
"INSTRUMENT_STATUS: 100\r\n" |
72 |
"AUDIO_OUTPUT_DEVICE: 0\r\n" |
"AUDIO_OUTPUT_DEVICE: 0\r\n" |
73 |
"AUDIO_OUTPUT_CHANNELS: 2\r\n" |
"AUDIO_OUTPUT_CHANNELS: 2\r\n" |
74 |
"AUDIO_OUTPUT_ROUTING: 0,1\r\n" |
"AUDIO_OUTPUT_ROUTING: 0,1\r\n" |
114 |
else if (lscp_parser_test(&tok, "AVAILABLE_AUDIO_OUTPUT_DRIVERS")) { |
else if (lscp_parser_test(&tok, "AVAILABLE_AUDIO_OUTPUT_DRIVERS")) { |
115 |
// Getting all available audio output drivers. |
// Getting all available audio output drivers. |
116 |
// GET AVAILABLE_AUDIO_OUTPUT_DRIVERS |
// GET AVAILABLE_AUDIO_OUTPUT_DRIVERS |
117 |
pszResult = "ALSA,JACK\r\n"; |
pszResult = "Alsa,Jack,CoreAudio\r\n"; |
118 |
} |
} |
119 |
else if (lscp_parser_test(&tok, "AVAILABLE_MIDI_INPUT_DRIVERS")) { |
else if (lscp_parser_test(&tok, "AVAILABLE_MIDI_INPUT_DRIVERS")) { |
120 |
// Getting all available MIDI input drivers. |
// Getting all available MIDI input drivers. |
121 |
// GET AVAILABLE_MIDI_INPUT_DRIVERS |
// GET AVAILABLE_MIDI_INPUT_DRIVERS |
122 |
pszResult = "ALSA\r\n"; |
pszResult = "Alsa,MidiShare,CoreMidi\r\n"; |
123 |
} |
} |
124 |
else if (lscp_parser_test2(&tok, "AUDIO_OUTPUT_DRIVER", "INFO")) { |
else if (lscp_parser_test2(&tok, "AUDIO_OUTPUT_DRIVER", "INFO")) { |
125 |
// Getting informations about a specific audio output driver. |
// Getting informations about a specific audio output driver. |
229 |
} |
} |
230 |
else if (lscp_parser_test(&tok, "INSTRUMENT")) { |
else if (lscp_parser_test(&tok, "INSTRUMENT")) { |
231 |
// Loading an instrument: |
// Loading an instrument: |
232 |
// LOAD INSTRUMENT <filename> <instr-index> <sampler-channel> |
// LOAD INSTRUMENT [NON_MODAL] <filename> <instr-index> <sampler-channel> |
233 |
} |
} |
234 |
else ret = LSCP_FAILED; |
else ret = LSCP_FAILED; |
235 |
} |
} |