Move soundmanager into its own thread
Fixes sound queues running empty on client step hiccups.
This commit is contained in:
@@ -38,5 +38,5 @@ std::shared_ptr<SoundManagerSingleton> createSoundManagerSingleton()
|
||||
std::unique_ptr<ISoundManager> createOpenALSoundManager(SoundManagerSingleton *smg,
|
||||
std::unique_ptr<SoundFallbackPathProvider> fallback_path_provider)
|
||||
{
|
||||
return std::make_unique<OpenALSoundManager>(smg, std::move(fallback_path_provider));
|
||||
return std::make_unique<ProxySoundManager>(smg, std::move(fallback_path_provider));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user