Add weapon cycling bindings for mouse and joystick buttons. Add weapon cycling bindi...
[chocolate-doom.git] / setup / sound.h
blobeb386d6f7d5344830eed24735b0b375d9444dd65
1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // Copyright(C) 2006 Simon Howard
5 //
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
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.
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, Boston, MA
19 // 02111-1307, USA.
22 #ifndef SETUP_SOUND_H
23 #define SETUP_SOUND_H
25 enum
27 SNDDEVICE_NONE = 0,
28 SNDDEVICE_PCSPEAKER = 1,
29 SNDDEVICE_ADLIB = 2,
30 SNDDEVICE_SB = 3,
31 SNDDEVICE_PAS = 4,
32 SNDDEVICE_GUS = 5,
33 SNDDEVICE_WAVEBLASTER = 6,
34 SNDDEVICE_SOUNDCANVAS = 7,
35 SNDDEVICE_GENMIDI = 8,
36 SNDDEVICE_AWE32 = 9,
39 extern int snd_sfxdevice;
40 extern int numChannels;
41 extern int sfxVolume;
43 extern int snd_musicdevice;
44 extern int musicVolume;
46 extern int snd_samplerate;
47 extern int opl_io_port;
49 extern int use_libsamplerate;
51 void ConfigSound(void);
53 #endif /* #ifndef SETUP_SOUND_H */