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 |
|
|
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 |
|
|
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 |