/[svn]/liblscp/trunk/examples/example_server.c
ViewVC logotype

Diff of /liblscp/trunk/examples/example_server.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 734 by capela, Sun May 22 22:02:00 2005 UTC revision 735 by capela, Tue Aug 16 09:48:42 2005 UTC
# Line 78  lscp_status_t server_callback ( lscp_con Line 78  lscp_status_t server_callback ( lscp_con
78                              "MIDI_INPUT_DEVICE: 0\r\n"                              "MIDI_INPUT_DEVICE: 0\r\n"
79                              "MIDI_INPUT_PORT: 0\r\n"                              "MIDI_INPUT_PORT: 0\r\n"
80                              "MIDI_INPUT_CHANNEL: ALL\r\n"                              "MIDI_INPUT_CHANNEL: ALL\r\n"
81                              "VOLUME: 0.5\r\n";                              "VOLUME: 0.5\r\n"
82                                "MUTE: FALSE\r\n"
83                                "SOLO: TRUE\r\n";
84              }              }
85              else if (lscp_parser_test(&tok, "VOICE_COUNT")) {              else if (lscp_parser_test(&tok, "VOICE_COUNT")) {
86                  // Current number of active voices:                  // Current number of active voices:
# Line 435  lscp_status_t server_callback ( lscp_con Line 437  lscp_status_t server_callback ( lscp_con
437                  // Setting channel volume:                  // Setting channel volume:
438                  // SET CHANNEL VOLUME <sampler-channel> <volume>                  // SET CHANNEL VOLUME <sampler-channel> <volume>
439              }              }
440                else if (lscp_parser_test(&tok, "MUTE")) {
441                    // Muting a sampler channel:
442                    // SET CHANNEL MUTE <sampler-channel> <mute>
443                }
444                else if (lscp_parser_test(&tok, "SOLO")) {
445                    // Soloing a sampler channel:
446                    // SET CHANNEL SOLO <sampler-channel> <solo>
447                }
448              else if (lscp_parser_test(&tok, "AUDIO_OUTPUT_TYPE")) {              else if (lscp_parser_test(&tok, "AUDIO_OUTPUT_TYPE")) {
449                  // Setting audio output type:                  // Setting audio output type:
450                  // SET CHANNEL AUDIO_OUTPUT_TYPE <sampler-channel> <audio-output-type>                  // SET CHANNEL AUDIO_OUTPUT_TYPE <sampler-channel> <audio-output-type>

Legend:
Removed from v.734  
changed lines
  Added in v.735

  ViewVC Help
Powered by ViewVC