mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Move soundmanager into its own thread
Fixes sound queues running empty on client step hiccups.
This commit is contained in:
parent
591e45657f
commit
8fa2ea71ef
3 changed files with 384 additions and 12 deletions
|
@ -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));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue