/[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 35 - (show annotations) (download) (as text)
Fri Mar 5 13:46:15 2004 UTC (20 years, 1 month ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 3024 byte(s)
* implemented parser for the LinuxSampler control protocol (LSCP) by using
  flex / bison (where src/network/lscp.l is the input file for lex / flex
  and src/network/lscp.y is the input file for yacc / bison), parser and
  scanner can be regenerated by 'make parser'
* implemented LSCP network server (only single threaded so far), LSCP
  server will be launched if LinuxSampler was started with "--server" flag,
  implemented the following LSCP commands so far: "LOAD INSTRUMENT", "GET
  CHANNEL VOICE_COUNT", "GET CHANNEL STREAM_COUNT", "GET CHANNEL
  BUFFER_FILL", "SET CHANNEL VOLUME" and "RESET CHANNEL"
* disk thread now started within the engine

1 /* A Bison parser, made by GNU Bison 1.875a. */
2
3 /* Skeleton parser for Yacc-like parsing with Bison,
4 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 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 SP = 261,
36 LF = 262,
37 CR = 263,
38 ADD = 264,
39 GET = 265,
40 LOAD = 266,
41 REMOVE = 267,
42 SET = 268,
43 SUBSCRIBE = 269,
44 UNSUBSCRIBE = 270,
45 RESET = 271,
46 QUIT = 272,
47 CHANNEL = 273,
48 NOTIFICATION = 274,
49 AVAILABLE_ENGINES = 275,
50 CHANNELS = 276,
51 INFO = 277,
52 BUFFER_FILL = 278,
53 STREAM_COUNT = 279,
54 VOICE_COUNT = 280,
55 INSTRUMENT = 281,
56 ENGINE = 282,
57 AUDIO_OUTPUT_CHANNEL = 283,
58 AUDIO_OUTPUT_TYPE = 284,
59 MIDI_INPUT_PORT = 285,
60 MIDI_INPUT_CHANNEL = 286,
61 MIDI_INPUT_TYPE = 287,
62 VOLUME = 288,
63 BYTES = 289,
64 PERCENTAGE = 290,
65 ALSA = 291,
66 JACK = 292
67 };
68 #endif
69 #define CHAR 258
70 #define DOTNUM 259
71 #define NUMBER 260
72 #define SP 261
73 #define LF 262
74 #define CR 263
75 #define ADD 264
76 #define GET 265
77 #define LOAD 266
78 #define REMOVE 267
79 #define SET 268
80 #define SUBSCRIBE 269
81 #define UNSUBSCRIBE 270
82 #define RESET 271
83 #define QUIT 272
84 #define CHANNEL 273
85 #define NOTIFICATION 274
86 #define AVAILABLE_ENGINES 275
87 #define CHANNELS 276
88 #define INFO 277
89 #define BUFFER_FILL 278
90 #define STREAM_COUNT 279
91 #define VOICE_COUNT 280
92 #define INSTRUMENT 281
93 #define ENGINE 282
94 #define AUDIO_OUTPUT_CHANNEL 283
95 #define AUDIO_OUTPUT_TYPE 284
96 #define MIDI_INPUT_PORT 285
97 #define MIDI_INPUT_CHANNEL 286
98 #define MIDI_INPUT_TYPE 287
99 #define VOLUME 288
100 #define BYTES 289
101 #define PERCENTAGE 290
102 #define ALSA 291
103 #define JACK 292
104
105
106
107
108 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
109 typedef int YYSTYPE;
110 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
111 # define YYSTYPE_IS_DECLARED 1
112 # define YYSTYPE_IS_TRIVIAL 1
113 #endif
114
115
116
117
118

  ViewVC Help
Powered by ViewVC