115 |
pszResult = szTemp; |
pszResult = szTemp; |
116 |
} |
} |
117 |
else if (lscp_parser_test(&tok, "AVAILABLE_AUDIO_OUTPUT_DRIVERS")) { |
else if (lscp_parser_test(&tok, "AVAILABLE_AUDIO_OUTPUT_DRIVERS")) { |
118 |
// Getting all available audio output drivers. |
// Getting all available audio output driver count. |
119 |
// GET AVAILABLE_AUDIO_OUTPUT_DRIVERS |
// GET AVAILABLE_AUDIO_OUTPUT_DRIVERS |
120 |
pszResult = "Alsa,Jack\r\n"; |
pszResult = "2\r\n"; |
121 |
} |
} |
122 |
else if (lscp_parser_test(&tok, "AVAILABLE_MIDI_INPUT_DRIVERS")) { |
else if (lscp_parser_test(&tok, "AVAILABLE_MIDI_INPUT_DRIVERS")) { |
123 |
// Getting all available MIDI input drivers. |
// Getting all available MIDI input driver count. |
124 |
// GET AVAILABLE_MIDI_INPUT_DRIVERS |
// GET AVAILABLE_MIDI_INPUT_DRIVERS |
125 |
pszResult = "Alsa\r\n"; |
pszResult = "1\r\n"; |
126 |
} |
} |
127 |
else if (lscp_parser_test2(&tok, "AUDIO_OUTPUT_DRIVER", "INFO")) { |
else if (lscp_parser_test2(&tok, "AUDIO_OUTPUT_DRIVER", "INFO")) { |
128 |
// Getting informations about a specific audio output driver. |
// Getting informations about a specific audio output driver. |
344 |
pszResult = szTemp; |
pszResult = szTemp; |
345 |
} |
} |
346 |
else if (lscp_parser_test(&tok, "AVAILABLE_ENGINES")) { |
else if (lscp_parser_test(&tok, "AVAILABLE_ENGINES")) { |
347 |
// Getting all available engines: |
// Getting all available engine count: |
348 |
// GET AVAILABLE_ENGINES |
// GET AVAILABLE_ENGINES |
349 |
pszResult = "GigEngine,DLSEngine,AkaiEngine\r\n"; |
pszResult = "3\r\n"; |
350 |
} |
} |
351 |
else if (lscp_parser_test2(&tok, "ENGINE", "INFO")) { |
else if (lscp_parser_test2(&tok, "ENGINE", "INFO")) { |
352 |
// Getting information about an engine. |
// Getting information about an engine. |
380 |
} |
} |
381 |
else ret = LSCP_FAILED; |
else ret = LSCP_FAILED; |
382 |
} |
} |
383 |
|
else if (lscp_parser_test(&tok, "AVAILABLE_ENGINES")) { |
384 |
|
// Getting all available engines: |
385 |
|
// LIST AVAILABLE_ENGINES |
386 |
|
pszResult = "GigEngine,DLSEngine,AkaiEngine\r\n"; |
387 |
|
} |
388 |
|
else if (lscp_parser_test(&tok, "AVAILABLE_AUDIO_OUTPUT_DRIVERS")) { |
389 |
|
// Getting all available audio output drivers. |
390 |
|
// LIST AVAILABLE_AUDIO_OUTPUT_DRIVERS |
391 |
|
pszResult = "ALSA,JACK\r\n"; |
392 |
|
} |
393 |
|
else if (lscp_parser_test(&tok, "AVAILABLE_MIDI_INPUT_DRIVERS")) { |
394 |
|
// Getting all available MIDI input drivers. |
395 |
|
// LIST AVAILABLE_MIDI_INPUT_DRIVERS |
396 |
|
pszResult = "ALSA\r\n"; |
397 |
|
} |
398 |
else if (lscp_parser_test(&tok, "AUDIO_OUTPUT_DEVICES")) { |
else if (lscp_parser_test(&tok, "AUDIO_OUTPUT_DEVICES")) { |
399 |
// Getting all created audio output device list. |
// Getting all created audio output device list. |
400 |
// LIST AUDIO_OUTPUT_DEVICES |
// LIST AUDIO_OUTPUT_DEVICES |