Add setting
This commit is contained in:
parent
ca0fc67738
commit
314f27c097
9 changed files with 76 additions and 79 deletions
19
audio.h
19
audio.h
|
@ -8,18 +8,19 @@
|
|||
This file implements the audio system. The module only computes audio samples
|
||||
(playing them must be done by the frontend). The audio format is 8bit, 8 KHz
|
||||
mono. This module does NOT deal with music (music is stored in a separate
|
||||
file, left to be optionally loaded and played by the frontend).
|
||||
file, left to be optionally loaded and played by the frontend). Audio samples
|
||||
are generated procedurally.
|
||||
*/
|
||||
|
||||
#define LCR_SOUND_NONE 0
|
||||
#define LCR_SOUND_CLICK 1
|
||||
#define LCR_SOUND_CRASH_SMALL 2
|
||||
#define LCR_SOUND_CRASH_BIG 3
|
||||
#define LCR_SOUND_ACCELERATOR 4
|
||||
#define LCR_SOUND_FAN 5
|
||||
#define LCR_SOUND_NONE 0
|
||||
#define LCR_SOUND_CLICK 1
|
||||
#define LCR_SOUND_CRASH_SMALL 2
|
||||
#define LCR_SOUND_CRASH_BIG 3
|
||||
#define LCR_SOUND_ACCELERATOR 4
|
||||
#define LCR_SOUND_FAN 5
|
||||
|
||||
#define LCR_AUDIO_CRASH_SOUND_LEN 2048
|
||||
#define LCR_AUDIO_FAN_SOUND_LEN 4096
|
||||
#define LCR_AUDIO_CRASH_SOUND_LEN 2048
|
||||
#define LCR_AUDIO_FAN_SOUND_LEN 4096
|
||||
|
||||
struct
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue