SuperTuxKart
Public Member Functions | List of all members
DummySFX Class Reference

Dummy sound when ogg or openal aren't available. More...

#include <dummy_sfx.hpp>

Inheritance diagram for DummySFX:
Inheritance graph
[legend]

Public Member Functions

 DummySFX (SFXBuffer *buffer, bool positional, float gain)
 
virtual bool init () OVERRIDE
 Late creation, if SFX was initially disabled.
 
virtual bool isLooped () OVERRIDE
 
virtual void updatePlayingSFX (float dt) OVERRIDE
 
virtual void setLoop (bool status) OVERRIDE
 
virtual void reallySetLoop (bool status) OVERRIDE
 
virtual void setPosition (const Vec3 &p) OVERRIDE
 
virtual void reallySetPosition (const Vec3 &p) OVERRIDE
 
virtual void setSpeedPosition (float factor, const Vec3 &p) OVERRIDE
 
virtual void reallySetSpeedPosition (float f, const Vec3 &p) OVERRIDE
 
virtual void play () OVERRIDE
 
virtual void reallyPlayNow (SFXBuffer *buffer=NULL) OVERRIDE
 
virtual void play (const Vec3 &xyz, SFXBuffer *buffer=NULL) OVERRIDE
 
virtual void reallyPlayNow (const Vec3 &xyz, SFXBuffer *buffer=NULL) OVERRIDE
 
virtual void stop () OVERRIDE
 
virtual void reallyStopNow () OVERRIDE
 
virtual void pause () OVERRIDE
 
virtual void reallyPauseNow () OVERRIDE
 
virtual void resume () OVERRIDE
 
virtual void reallyResumeNow () OVERRIDE
 
virtual void deleteSFX () OVERRIDE
 
virtual void setSpeed (float factor) OVERRIDE
 
virtual void reallySetSpeed (float factor) OVERRIDE
 
virtual void setVolume (float gain) OVERRIDE
 
virtual void reallySetVolume (float gain) OVERRIDE
 
virtual void setMasterVolume (float gain) OVERRIDE
 
virtual void reallySetMasterVolumeNow (float gain) OVERRIDE
 
virtual SFXStatus getStatus () OVERRIDE
 
virtual void onSoundEnabledBack () OVERRIDE
 
virtual void setRolloff (float rolloff) OVERRIDE
 
virtual const SFXBuffergetBuffer () const OVERRIDE
 

Additional Inherited Members

- Public Types inherited from SFXBase
enum  SFXStatus {
  SFX_UNKNOWN = -1, SFX_STOPPED = 0, SFX_PAUSED = 1, SFX_PLAYING = 2,
  SFX_NOT_INITIALISED = 3
}
 Status of a sound effect. More...
 

Detailed Description

Dummy sound when ogg or openal aren't available.


The documentation for this class was generated from the following file: