ScummVM API documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
audio_defines.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef AGS_ENGINE_MEDIA_AUDIO_AUDIODEFINES_H
23
#define AGS_ENGINE_MEDIA_AUDIO_AUDIODEFINES_H
24
25
#define MUS_MIDI 1
26
#define MUS_MP3 2
27
#define MUS_WAVE 3
28
#define MUS_MOD 4
29
#define MUS_OGG 5
30
31
// Max channels that are distributed among game's audio types
32
#define MAX_GAME_CHANNELS 16
33
#define MAX_SOUND_CHANNELS 8
34
#define SPECIAL_CROSSFADE_CHANNEL (MAX_GAME_CHANNELS)
35
// Total number of channels: game chans + utility chans
36
#define TOTAL_AUDIO_CHANNELS (MAX_GAME_CHANNELS + 1)
37
// Number of game channels reserved for speech voice-over
38
#define NUM_SPEECH_CHANS 1
39
// Legacy channel numbers
40
#define MAX_GAME_CHANNELS_v320 8
41
#define TOTAL_AUDIO_CHANNELS_v320 (MAX_GAME_CHANNELS_v320 + 1)
42
43
#define SCHAN_SPEECH 0
44
#define SCHAN_AMBIENT 1
45
#define SCHAN_MUSIC 2
46
#define SCHAN_NORMAL 3
47
#define AUDIOTYPE_LEGACY_AMBIENT_SOUND 1
48
#define AUDIOTYPE_LEGACY_MUSIC 2
49
#define AUDIOTYPE_LEGACY_SOUND 3
50
51
#endif
engines
ags
engine
media
audio
audio_defines.h
Generated on Thu Apr 10 2025 09:09:32 for ScummVM API documentation by
1.8.13