1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-02 19:51:34 +00:00

Remove DEFAULT_OUTPUT macros

This commit is contained in:
elsid 2021-01-26 00:48:45 +01:00
parent e30a59772c
commit b0311ce9f1
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
2 changed files with 1 additions and 4 deletions

View file

@ -98,9 +98,6 @@ namespace MWSound
OpenAL_Output(SoundManager &mgr); OpenAL_Output(SoundManager &mgr);
virtual ~OpenAL_Output(); virtual ~OpenAL_Output();
}; };
#ifndef DEFAULT_OUTPUT
#define DEFAULT_OUTPUT(x) ::MWSound::OpenAL_Output((x))
#endif
} }
#endif #endif

View file

@ -54,7 +54,7 @@ namespace MWSound
SoundManager::SoundManager(const VFS::Manager* vfs, bool useSound) SoundManager::SoundManager(const VFS::Manager* vfs, bool useSound)
: mVFS(vfs) : mVFS(vfs)
, mOutput(new DEFAULT_OUTPUT(*this)) , mOutput(new OpenAL_Output(*this))
, mWaterSoundUpdater(makeWaterSoundUpdaterSettings()) , mWaterSoundUpdater(makeWaterSoundUpdaterSettings())
, mSoundBuffers(*vfs, *mOutput) , mSoundBuffers(*vfs, *mOutput)
, mListenerUnderwater(false) , mListenerUnderwater(false)