mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +00:00
Sound refactor and improvements (#12764)
This commit is contained in:
parent
8e1af25738
commit
edcbfa31c9
52 changed files with 2802 additions and 1211 deletions
|
@ -19,13 +19,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "sound.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
class SoundManagerSingleton;
|
||||
extern std::shared_ptr<SoundManagerSingleton> g_sound_manager_singleton;
|
||||
|
||||
std::shared_ptr<SoundManagerSingleton> createSoundManagerSingleton();
|
||||
ISoundManager *createOpenALSoundManager(
|
||||
SoundManagerSingleton *smg, OnDemandSoundFetcher *fetcher);
|
||||
std::unique_ptr<ISoundManager> createOpenALSoundManager(
|
||||
SoundManagerSingleton *smg,
|
||||
std::unique_ptr<SoundFallbackPathProvider> fallback_path_provider);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue