|
XenevaOS
|
#include <stdio.h>#include <stdlib.h>#include "config.h"#include "doomfeatures.h"#include "doomtype.h"#include "i_sound.h"#include "i_video.h"#include "m_argv.h"#include "m_config.h"
Functions | |
| void | I_InitSound (boolean use_sfx_prefix) |
| void | I_ShutdownSound (void) |
| int | I_GetSfxLumpNum (sfxinfo_t *sfxinfo) |
| void | I_UpdateSound (void) |
| void | I_UpdateSoundParams (int channel, int vol, int sep) |
| int | I_StartSound (sfxinfo_t *sfxinfo, int channel, int vol, int sep) |
| void | I_StopSound (int channel) |
| boolean | I_SoundIsPlaying (int channel) |
| void | I_PrecacheSounds (sfxinfo_t *sounds, int num_sounds) |
| void | I_InitMusic (void) |
| void | I_ShutdownMusic (void) |
| void | I_SetMusicVolume (int volume) |
| void | I_PauseSong (void) |
| void | I_ResumeSong (void) |
| void * | I_RegisterSong (void *data, int len) |
| void | I_UnRegisterSong (void *handle) |
| void | I_PlaySong (void *handle, boolean looping) |
| void | I_StopSong (void) |
| boolean | I_MusicIsPlaying (void) |
| void | I_BindSoundVariables (void) |
Variables | |
| int | snd_samplerate = 44100 |
| int | snd_cachesize = 64 * 1024 * 1024 |
| int | snd_maxslicetime_ms = 28 |
| char * | snd_musiccmd = "" |
| int | snd_musicdevice = SNDDEVICE_SB |
| int | snd_sfxdevice = SNDDEVICE_SB |
| void I_BindSoundVariables | ( | void | ) |
| int I_GetSfxLumpNum | ( | sfxinfo_t * | sfxinfo | ) |
| void I_InitMusic | ( | void | ) |
| void I_InitSound | ( | boolean | use_sfx_prefix | ) |
| boolean I_MusicIsPlaying | ( | void | ) |
| void I_PauseSong | ( | void | ) |
| void I_PlaySong | ( | void * | handle, |
| boolean | looping | ||
| ) |
| void I_PrecacheSounds | ( | sfxinfo_t * | sounds, |
| int | num_sounds | ||
| ) |
| void * I_RegisterSong | ( | void * | data, |
| int | len | ||
| ) |
| void I_ResumeSong | ( | void | ) |
| void I_SetMusicVolume | ( | int | volume | ) |
| void I_ShutdownMusic | ( | void | ) |
| void I_ShutdownSound | ( | void | ) |
| boolean I_SoundIsPlaying | ( | int | channel | ) |
| int I_StartSound | ( | sfxinfo_t * | sfxinfo, |
| int | channel, | ||
| int | vol, | ||
| int | sep | ||
| ) |
| void I_StopSong | ( | void | ) |
| void I_StopSound | ( | int | channel | ) |
| void I_UnRegisterSong | ( | void * | handle | ) |
| void I_UpdateSound | ( | void | ) |
| void I_UpdateSoundParams | ( | int | channel, |
| int | vol, | ||
| int | sep | ||
| ) |
| int snd_cachesize = 64 * 1024 * 1024 |
| int snd_maxslicetime_ms = 28 |
| char* snd_musiccmd = "" |
| int snd_musicdevice = SNDDEVICE_SB |
| int snd_samplerate = 44100 |
| int snd_sfxdevice = SNDDEVICE_SB |