/[svn]/linuxsampler/trunk/src/network/lscp.y
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscp.y

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

revision 35 by schoenebeck, Fri Mar 5 13:46:15 2004 UTC revision 53 by schoenebeck, Mon Apr 26 17:15:51 2004 UTC
# Line 62  void yyerror(const char* s); Line 62  void yyerror(const char* s);
62  %token ALSA JACK  %token ALSA JACK
63    
64  %type <Dotnum> volume  %type <Dotnum> volume
65  %type <Number> sampler_channel instrument_index udp_port audio_output_channel midi_input_channel midi_input_type  %type <Number> sampler_channel instrument_index udp_port audio_output_channel midi_input_channel
66  %type <String> string alpha_num_string filename engine_name session_id midi_input_port command get_instruction load_instruction set_chan_instruction load_instr_args load_engine_args  %type <String> string alpha_num_string filename engine_name session_id midi_input_port command get_instruction load_instruction set_chan_instruction load_instr_args load_engine_args
67  %type <FillResponse> buffer_size_type  %type <FillResponse> buffer_size_type
68  %type <AudioOutput> audio_output_type  %type <AudioOutput> audio_output_type
69    %type <MidiInput> midi_input_type
70    
71  %start input  %start input
72    
# Line 111  set_chan_instruction  :  AUDIO_OUTPUT_CH Line 112  set_chan_instruction  :  AUDIO_OUTPUT_CH
112                        |  AUDIO_OUTPUT_TYPE SP sampler_channel SP audio_output_type        { $$ = LSCPSERVER->SetAudioOutputType($5, $3);    }                        |  AUDIO_OUTPUT_TYPE SP sampler_channel SP audio_output_type        { $$ = LSCPSERVER->SetAudioOutputType($5, $3);    }
113                        |  MIDI_INPUT_PORT SP sampler_channel SP midi_input_port            { $$ = LSCPSERVER->SetMIDIInputPort($5, $3);      }                        |  MIDI_INPUT_PORT SP sampler_channel SP midi_input_port            { $$ = LSCPSERVER->SetMIDIInputPort($5, $3);      }
114                        |  MIDI_INPUT_CHANNEL SP sampler_channel SP midi_input_channel      { $$ = LSCPSERVER->SetMIDIInputChannel($5, $3);   }                        |  MIDI_INPUT_CHANNEL SP sampler_channel SP midi_input_channel      { $$ = LSCPSERVER->SetMIDIInputChannel($5, $3);   }
115                        |  MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type            { $$ = "Err:0:Not implemented yet\r\n";           }                        |  MIDI_INPUT_TYPE SP sampler_channel SP midi_input_type            { $$ = LSCPSERVER->SetMIDIInputType($5, $3);      }
116                        |  VOLUME SP sampler_channel SP volume                              { $$ = LSCPSERVER->SetVolume($5, $3);             }                        |  VOLUME SP sampler_channel SP volume                              { $$ = LSCPSERVER->SetVolume($5, $3);             }
117                        ;                        ;
118    
# Line 129  audio_output_type     :  ALSA  { $$ = au Line 130  audio_output_type     :  ALSA  { $$ = au
130                        |  JACK  { $$ = audio_output_type_jack; }                        |  JACK  { $$ = audio_output_type_jack; }
131                        ;                        ;
132    
133  midi_input_type       :  ALSA  { $$ = ALSA; }  midi_input_type       :  ALSA  { $$ = midi_input_type_alsa; }
134                        ;                        ;
135    
136  volume                :  DOTNUM  volume                :  DOTNUM

Legend:
Removed from v.35  
changed lines
  Added in v.53

  ViewVC Help
Powered by ViewVC