/[svn]/linuxsampler/trunk/src/network/lscpsymbols.h
ViewVC logotype

Contents of /linuxsampler/trunk/src/network/lscpsymbols.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 143 - (show annotations) (download) (as text)
Wed Jun 23 18:54:08 2004 UTC (19 years, 10 months ago) by capela
File MIME type: text/x-c++hdr
File size: 3799 byte(s)
* SET CHANNEL AUDIO_OUTPUT_TYPE <chan> <driver> command is back!
  creates an audio output device instance of the given driver type
  ('Jack' or 'Alsa') with default parameters if none exists,
  otherwise it just picks the first available device and assign
  it to the intended sampler channel.

* The AudioOutputDevice class get's a new pure virtual method,
  Driver(), which is implemented on both of the existing inherited
  classes, AudioOutputDeviceAlsa and AudioOutputDeviceJack, with
  the sole purpose to return the driver type name as a String
  ('Alsa' and 'Jack', respectively).

* The quoting on the filename argument for the LOAD INSTRUMENT
  command has been made optional; you can have both ways, with
  single quotes or none, keeping compability with older LSCP
  specification.

* An additional sanity check is made on LOAD INSTRUMENT, whether
  the sampler channel has an audio output device assigned, thus
  preventing the server from crashing on instrument file load.

* The GET AUDIO_OUTPUT_DEVICE INFO now includes the missing
  'driver' item, as predicted by the draft protocol document.

1 /* A Bison parser, made by GNU Bison 1.875. */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
20
21 /* As a special exception, when this file is copied by Bison into a
22 Bison output file, you may use that output file without restriction.
23 This special exception was added by the Free Software Foundation
24 in version 1.24 of Bison. */
25
26 /* Tokens. */
27 #ifndef YYTOKENTYPE
28 # define YYTOKENTYPE
29 /* Put the tokens into the symbol table, so that GDB and other debuggers
30 know about them. */
31 enum yytokentype {
32 CHAR = 258,
33 DOTNUM = 259,
34 NUMBER = 260,
35 STRINGVAL = 261,
36 SP = 262,
37 LF = 263,
38 CR = 264,
39 HASH = 265,
40 EQ = 266,
41 ADD = 267,
42 GET = 268,
43 CREATE = 269,
44 DESTROY = 270,
45 LIST = 271,
46 LOAD = 272,
47 NON_MODAL = 273,
48 REMOVE = 274,
49 SET = 275,
50 SUBSCRIBE = 276,
51 UNSUBSCRIBE = 277,
52 RESET = 278,
53 QUIT = 279,
54 CHANNEL = 280,
55 NOTIFICATION = 281,
56 AVAILABLE_ENGINES = 282,
57 AVAILABLE_AUDIO_OUTPUT_DRIVERS = 283,
58 CHANNELS = 284,
59 INFO = 285,
60 BUFFER_FILL = 286,
61 STREAM_COUNT = 287,
62 VOICE_COUNT = 288,
63 INSTRUMENT = 289,
64 ENGINE = 290,
65 AUDIO_OUTPUT_CHANNEL = 291,
66 AUDIO_OUTPUT_CHANNEL_PARAMETER = 292,
67 AUDIO_OUTPUT_DEVICE = 293,
68 AUDIO_OUTPUT_DEVICES = 294,
69 AUDIO_OUTPUT_DEVICE_PARAMETER = 295,
70 AUDIO_OUTPUT_DRIVER = 296,
71 AUDIO_OUTPUT_DRIVER_PARAMETER = 297,
72 AUDIO_OUTPUT_TYPE = 298,
73 MIDI_INPUT_PORT = 299,
74 MIDI_INPUT_CHANNEL = 300,
75 MIDI_INPUT_TYPE = 301,
76 VOLUME = 302,
77 BYTES = 303,
78 PERCENTAGE = 304,
79 MISCELLANEOUS = 305
80 };
81 #endif
82 #define CHAR 258
83 #define DOTNUM 259
84 #define NUMBER 260
85 #define STRINGVAL 261
86 #define SP 262
87 #define LF 263
88 #define CR 264
89 #define HASH 265
90 #define EQ 266
91 #define ADD 267
92 #define GET 268
93 #define CREATE 269
94 #define DESTROY 270
95 #define LIST 271
96 #define LOAD 272
97 #define NON_MODAL 273
98 #define REMOVE 274
99 #define SET 275
100 #define SUBSCRIBE 276
101 #define UNSUBSCRIBE 277
102 #define RESET 278
103 #define QUIT 279
104 #define CHANNEL 280
105 #define NOTIFICATION 281
106 #define AVAILABLE_ENGINES 282
107 #define AVAILABLE_AUDIO_OUTPUT_DRIVERS 283
108 #define CHANNELS 284
109 #define INFO 285
110 #define BUFFER_FILL 286
111 #define STREAM_COUNT 287
112 #define VOICE_COUNT 288
113 #define INSTRUMENT 289
114 #define ENGINE 290
115 #define AUDIO_OUTPUT_CHANNEL 291
116 #define AUDIO_OUTPUT_CHANNEL_PARAMETER 292
117 #define AUDIO_OUTPUT_DEVICE 293
118 #define AUDIO_OUTPUT_DEVICES 294
119 #define AUDIO_OUTPUT_DEVICE_PARAMETER 295
120 #define AUDIO_OUTPUT_DRIVER 296
121 #define AUDIO_OUTPUT_DRIVER_PARAMETER 297
122 #define AUDIO_OUTPUT_TYPE 298
123 #define MIDI_INPUT_PORT 299
124 #define MIDI_INPUT_CHANNEL 300
125 #define MIDI_INPUT_TYPE 301
126 #define VOLUME 302
127 #define BYTES 303
128 #define PERCENTAGE 304
129 #define MISCELLANEOUS 305
130
131
132
133
134 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
135 typedef int YYSTYPE;
136 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
137 # define YYSTYPE_IS_DECLARED 1
138 # define YYSTYPE_IS_TRIVIAL 1
139 #endif
140
141
142
143
144

  ViewVC Help
Powered by ViewVC