20 lines
429 B
C
20 lines
429 B
C
#pragma once
|
|
|
|
extern int sound_disabled;
|
|
|
|
/* Sound subsystem. */
|
|
int sound_init(void);
|
|
void sound_exit(void);
|
|
|
|
/* Sound manupulation functions. */
|
|
int sound_get(char* name);
|
|
int sound_volume(const double vol);
|
|
int sound_play(int sound);
|
|
|
|
/* Group functions. */
|
|
int sound_reserve(int num);
|
|
int sound_createGroup(int tag, int start, int size);
|
|
int sound_playGroup(int group, int sound, int once);
|
|
void sound_stopGroup(int group);
|
|
|