shithub: heretic

ref: 0f798c2472b636e6b6a4864cc6110087f8067cf0
dir: /soundst.h/

View raw version
// soundst.h

#ifndef __SOUNDSTH__
#define __SOUNDSTH__

extern	int		snd_MaxVolume;
extern	int		snd_MusicVolume;

void S_Init(void);
void S_ShutDown(void);
void S_Start(void);
void S_StartSound(mobj_t *origin, int sound_id);
void S_StartSoundAtVolume(mobj_t *origin, int sound_id, int volume);
void S_StopSound(mobj_t *origin);
void S_PauseSound(void);
void S_ResumeSound(void);
void S_UpdateSounds(mobj_t *listener);
void S_StartSong(int song, boolean loop);
void S_GetChannelInfo(SoundInfo_t *s);
void S_SetMaxVolume(boolean fullprocess);
void S_SetMusicVolume(void);

#endif	/* __SOUNDSTH__ */