summaryrefslogtreecommitdiff
path: root/src/sound_openal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_openal.h')
-rw-r--r--src/sound_openal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/sound_openal.h b/src/sound_openal.h
index 6d538c8f9..f2cff4daa 100644
--- a/src/sound_openal.h
+++ b/src/sound_openal.h
@@ -19,6 +19,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
+#include <memory>
+
#include "sound.h"
-ISoundManager *createOpenALSoundManager(OnDemandSoundFetcher *fetcher);
+class SoundManagerSingleton;
+extern std::shared_ptr<SoundManagerSingleton> g_sound_manager_singleton;
+
+std::shared_ptr<SoundManagerSingleton> createSoundManagerSingleton();
+ISoundManager *createOpenALSoundManager(SoundManagerSingleton *smg, OnDemandSoundFetcher *fetcher);