- Added ability to disable sound for poor users with non-functional sound

This commit is contained in:
Mark Vejvoda
2010-07-16 06:35:22 +00:00
parent 0089cc7d31
commit 1e077512d8
6 changed files with 96 additions and 13 deletions

View File

@@ -27,6 +27,7 @@
#endif
#include "sound_factory_openal.h"
#include "sound_factory_none.h"
using std::string;
@@ -42,6 +43,7 @@ using Shared::Sound::Ds8::SoundFactoryDs8;
#endif
using Shared::Sound::OpenAL::SoundFactoryOpenAL;
using Shared::Sound::SoundFactoryNone;
namespace Shared{ namespace Platform{
@@ -66,6 +68,7 @@ private:
#endif
SoundFactoryOpenAL soundFactoryOpenAL;
SoundFactoryNone soundFactoryNone;
public:
static FactoryRepository &getInstance();