1
/* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */
13
/// Empty sound system implementation
14
class NullSound : public ISound
20
virtual bool HasSoundItem(const std::string& name);
21
virtual size_t GetSoundId(const std::string& name, bool hardFail = true);
23
virtual SoundSource* GetNextBestSource(bool lock = true);
25
virtual void UpdateListener(const float3& campos, const float3& camdir, const float3& camup, float lastFrameTime);
26
virtual void NewFrame();
28
virtual void ConfigNotify(const std::string& key, const std::string& value);
29
virtual void PitchAdjust(const float newPitch);
32
virtual bool IsMuted() const;
34
virtual void Iconified(bool state);
36
virtual void PrintDebugInfo();
37
virtual bool LoadSoundDefs(const std::string& fileName);
40
friend class EffectChannel;
41
// this is used by EffectChannel in AudioChannel.cpp
42
virtual void PlaySample(size_t id, const float3 &p, const float3& velocity, float volume, bool relative);
45
#endif // _NULL_SOUND_H_