48 static const int SSF_PRIVATE_SOUND =
BIT(0);
49 static const int SSF_ANTI_PRIVATE_SOUND =
BIT(1);
50 static const int SSF_NO_OCCLUSION =
BIT(2);
51 static const int SSF_GLOBAL =
BIT(3);
52 static const int SSF_OMNIDIRECTIONAL =
BIT(4);
53 static const int SSF_LOOPING =
BIT(5);
54 static const int SSF_PLAY_ONCE =
BIT(6);
55 static const int SSF_UNCLAMPED =
BIT(7);
56 static const int SSF_NO_FLICKER =
BIT(8);
57 static const int SSF_NO_DUPS =
BIT(9);
83 virtual size_t Size(
void )
const;
86 virtual bool Parse(
const char *text,
const int textLength );
88 virtual void List(
void )
const;
144 static const int SCHANNEL_ANY = 0;
146 static const int SCHANNEL_ONE = 1;
157 virtual void Free(
bool immediate ) = 0;
183 virtual int Index(
void )
const = 0;
222 virtual void FadeSoundClasses(
const int soundClass,
const float to,
const float over ) = 0;
235 virtual void Pause(
void ) = 0;
236 virtual void UnPause(
void ) = 0;
255 virtual void SetSlowmo(
bool active ) = 0;
288 virtual void Init(
void ) = 0;
299 virtual bool InitHW(
void ) = 0;
311 virtual void SetMute(
bool mute ) = 0;
339 virtual int AsyncMix(
int soundTime,
float *mixBuffer ) = 0;
virtual void SetSlowmoSpeed(float speed)=0
virtual cinData_t ImageForTime(const int milliseconds, const bool waveform)=0
virtual void SetEnviroSuit(bool active)=0
virtual bool HasDefaultSound() const
virtual bool CurrentlyPlaying(void) const =0
virtual size_t Size(void) const
const float METERS_TO_DOOM
virtual void ClearBuffer(void)=0
virtual void StopWritingDemo()=0
virtual const char * DefaultDefinition(void) const
virtual idSoundWorld * AllocSoundWorld(idRenderWorld *rw)=0
virtual float GetMaxDistance() const
virtual bool Parse(const char *text, const int textLength)
virtual const soundShaderParms_t * GetParms() const
virtual void ProcessDemoCommand(idDemoFile *demo)=0
virtual bool InitHW(void)=0
virtual void PlayShaderDirectly(const char *name, int channel=-1)=0
virtual int AsyncUpdate(int time)=0
virtual int GetSoundDecoderInfo(int index, soundDecoderInfo_t &decoderInfo)=0
virtual void FadeSound(const s_channelType channel, float to, float over)=0
virtual int IsEAXAvailable(void)=0
bool ParseShader(idLexer &src)
virtual float GetMinDistance() const
virtual int Index(void) const =0
virtual void Free(bool immediate)=0
virtual ~idSoundWorld(void)
virtual void Pause(void)=0
idSoundSample * leadins[SOUND_MAX_LIST_WAVS]
virtual void WriteToSaveGame(idFile *savefile)=0
virtual idSoundWorld * GetPlayingSoundWorld(void)=0
virtual float CurrentShakeAmplitudeForPosition(const int time, const idVec3 &listenerPosition)=0
virtual bool CheckShakesAndOgg(void) const
virtual void ClearAllSoundEmitters(void)=0
virtual void SetPlayingSoundWorld(idSoundWorld *soundWorld)=0
virtual int GetNumSounds() const
virtual void BeginLevelLoad(void)=0
virtual void Init(void)=0
virtual void List(void) const
virtual void Shutdown(void)=0
virtual void FadeSoundClasses(const int soundClass, const float to, const float over)=0
virtual int AsyncUpdateWrite(int time)=0
virtual idSoundEmitter * AllocSoundEmitter(void)=0
virtual const idSoundShader * GetAltSound() const
virtual void UnPause(void)=0
virtual void ModifySound(const s_channelType channel, const soundShaderParms_t *parms)=0
const float DOOM_TO_METERS
virtual const char * GetSound(int index) const
virtual bool SetDefaultText(void)
virtual bool IsPaused(void)=0
virtual int StartSound(const idSoundShader *shader, const s_channelType channel, float diversity=0, int shaderFlags=0, bool allowSlow=true)=0
virtual ~idSoundSystem(void)
virtual ~idSoundShader(void)
virtual const char * GetDescription() const
idSoundSystem * soundSystem
virtual void AVIOpen(const char *path, const char *name)=0
idSoundSample * entries[SOUND_MAX_LIST_WAVS]
virtual void SetMute(bool mute)=0
virtual void EndLevelLoad(const char *mapString)=0
virtual void StopSound(const s_channelType channel)=0
virtual ~idSoundEmitter(void)
virtual void SetSlowmo(bool active)=0
virtual void UpdateEmitter(const idVec3 &origin, int listenerId, const soundShaderParms_t *parms)=0
virtual idSoundEmitter * EmitterForIndex(int index)=0
virtual void PlaceListener(const idVec3 &origin, const idMat3 &axis, const int listenerId, const int gameTime, const idStr &areaName)=0
virtual void AVIClose(void)=0
virtual bool ShutdownHW(void)=0
const idSoundShader * altSound
virtual void PrintMemInfo(MemInfo_t *mi)=0
virtual void StartWritingDemo(idDemoFile *demo)=0
virtual void ReadFromSaveGame(idFile *savefile)=0
const int SOUND_MAX_LIST_WAVS
const int SOUND_MAX_CLASSES
virtual int AsyncMix(int soundTime, float *mixBuffer)=0
virtual void FreeData(void)
virtual float CurrentAmplitude(void)=0
virtual void StopAllSounds(void)=0