common: prevent buffer overflow
[supercollider.git] / include / lang / SFHeaders.h
bloba39e39bcaa07099890f47f0e2e1c0e4d0551c929
1 // SuperCollider real time audio synthesis system
2 // Copyright (c) 2002 James McCartney. All rights reserved.
3 // http://www.audiosynth.com
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef _SFHeaders_
20 #define _SFHeaders_
22 // #include "SCBase.h"
23 // #include "ReadWriteMacros.h"
25 enum {
26 unsupported_sound_file = -1,
27 AIFF_sound_file,
28 AIFC_sound_file,
29 RIFF_sound_file,
30 NeXT_sound_file,
31 IRCAM_sound_file,
32 SD2_sound_file,
33 raw_sound_file,
34 flac_sound_file,
35 vorbis_sound_file
38 enum {
39 snd_unsupported = -1,
40 snd_no_snd,
41 snd_16_linear,
42 snd_8_mulaw,
43 snd_8_linear,
44 snd_32_float,
45 snd_32_linear,
46 snd_8_alaw,
47 snd_8_unsigned,
48 snd_24_linear,
49 snd_64_double,
50 snd_16_linear_little_endian,
51 snd_32_linear_little_endian,
52 snd_32_float_little_endian,
53 snd_64_double_little_endian,
54 snd_16_unsigned,
55 snd_16_unsigned_little_endian,
56 snd_24_linear_little_endian,
57 snd_32_vax_float,
58 snd_12_linear,
59 snd_12_linear_little_endian,
60 snd_12_unsigned,
61 snd_12_unsigned_little_endian
64 #endif