Apply patch by riebl : adjust DummySFX so it can be used instead of SFXOpenAL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
19e9470356
commit
8391f085ce
@ -31,6 +31,7 @@
|
||||
class DummySFX : public SFXBase
|
||||
{
|
||||
public:
|
||||
DummySFX(SFXBuffer* buffer, bool positional, float gain) {}
|
||||
virtual ~DummySFX() {}
|
||||
|
||||
/** Late creation, if SFX was initially disabled */
|
||||
@ -48,7 +49,7 @@ public:
|
||||
virtual void onSoundEnabledBack() {}
|
||||
virtual void setRolloff(float rolloff) {}
|
||||
|
||||
virtual const SFXBuffer* getBuffer() { return NULL; }
|
||||
virtual const SFXBuffer* getBuffer() const { return NULL; }
|
||||
|
||||
}; // DummySFX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user