XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions | Variables
i_sound.h File Reference
#include "doomtype.h"
Include dependency graph for i_sound.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sfxinfo_struct
 
struct  musicinfo_t
 
struct  sound_module_t
 
struct  music_module_t
 

Typedefs

typedef struct sfxinfo_struct sfxinfo_t
 

Enumerations

enum  snddevice_t {
  SNDDEVICE_NONE = 0 , SNDDEVICE_PCSPEAKER = 1 , SNDDEVICE_ADLIB = 2 , SNDDEVICE_SB = 3 ,
  SNDDEVICE_PAS = 4 , SNDDEVICE_GUS = 5 , SNDDEVICE_WAVEBLASTER = 6 , SNDDEVICE_SOUNDCANVAS = 7 ,
  SNDDEVICE_GENMIDI = 8 , SNDDEVICE_AWE32 = 9 , SNDDEVICE_CD = 10
}
 

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)
 
void I_InitTimidityConfig (void)
 

Variables

int snd_sfxdevice
 
int snd_musicdevice
 
int snd_samplerate
 
int snd_cachesize
 
int snd_maxslicetime_ms
 
char * snd_musiccmd
 
sound_module_t sound_pcsound_module
 
music_module_t music_opl_module
 
int opl_io_port
 
char * timidity_cfg_path
 

Typedef Documentation

◆ sfxinfo_t

typedef struct sfxinfo_struct sfxinfo_t

Enumeration Type Documentation

◆ snddevice_t

Enumerator
SNDDEVICE_NONE 
SNDDEVICE_PCSPEAKER 
SNDDEVICE_ADLIB 
SNDDEVICE_SB 
SNDDEVICE_PAS 
SNDDEVICE_GUS 
SNDDEVICE_WAVEBLASTER 
SNDDEVICE_SOUNDCANVAS 
SNDDEVICE_GENMIDI 
SNDDEVICE_AWE32 
SNDDEVICE_CD 

Function Documentation

◆ I_BindSoundVariables()

void I_BindSoundVariables ( void  )

◆ I_GetSfxLumpNum()

int I_GetSfxLumpNum ( sfxinfo_t *  sfxinfo)

◆ I_InitMusic()

void I_InitMusic ( void  )

◆ I_InitSound()

void I_InitSound ( boolean  use_sfx_prefix)

◆ I_InitTimidityConfig()

void I_InitTimidityConfig ( void  )

◆ I_MusicIsPlaying()

boolean I_MusicIsPlaying ( void  )

◆ I_PauseSong()

void I_PauseSong ( void  )

◆ I_PlaySong()

void I_PlaySong ( void *  handle,
boolean  looping 
)

◆ I_PrecacheSounds()

void I_PrecacheSounds ( sfxinfo_t *  sounds,
int  num_sounds 
)

◆ I_RegisterSong()

void * I_RegisterSong ( void *  data,
int  len 
)

◆ I_ResumeSong()

void I_ResumeSong ( void  )

◆ I_SetMusicVolume()

void I_SetMusicVolume ( int  volume)

◆ I_ShutdownMusic()

void I_ShutdownMusic ( void  )

◆ I_ShutdownSound()

void I_ShutdownSound ( void  )

◆ I_SoundIsPlaying()

boolean I_SoundIsPlaying ( int  channel)

◆ I_StartSound()

int I_StartSound ( sfxinfo_t *  sfxinfo,
int  channel,
int  vol,
int  sep 
)

◆ I_StopSong()

void I_StopSong ( void  )

◆ I_StopSound()

void I_StopSound ( int  channel)

◆ I_UnRegisterSong()

void I_UnRegisterSong ( void *  handle)

◆ I_UpdateSound()

void I_UpdateSound ( void  )

◆ I_UpdateSoundParams()

void I_UpdateSoundParams ( int  channel,
int  vol,
int  sep 
)

Variable Documentation

◆ music_opl_module

music_module_t music_opl_module
extern

◆ opl_io_port

int opl_io_port
extern

◆ snd_cachesize

int snd_cachesize
extern

◆ snd_maxslicetime_ms

int snd_maxslicetime_ms
extern

◆ snd_musiccmd

char* snd_musiccmd
extern

◆ snd_musicdevice

int snd_musicdevice
extern

◆ snd_samplerate

int snd_samplerate
extern

◆ snd_sfxdevice

int snd_sfxdevice
extern

◆ sound_pcsound_module

sound_module_t sound_pcsound_module
extern

◆ timidity_cfg_path

char* timidity_cfg_path
extern