2024-10-28 15:57:39 +01:00
|
|
|
// Luanti
|
|
|
|
// SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
|
2012-03-23 12:05:17 +02:00
|
|
|
|
2017-08-17 22:19:39 +02:00
|
|
|
#pragma once
|
2012-03-23 12:05:17 +02:00
|
|
|
|
2023-09-28 16:49:47 +02:00
|
|
|
#include "client/sound.h"
|
2023-06-16 20:15:21 +02:00
|
|
|
#include <memory>
|
|
|
|
|
2023-09-28 18:59:06 +02:00
|
|
|
namespace sound { class SoundManagerSingleton; }
|
|
|
|
using sound::SoundManagerSingleton;
|
|
|
|
|
2018-03-23 15:31:43 +01:00
|
|
|
extern std::shared_ptr<SoundManagerSingleton> g_sound_manager_singleton;
|
|
|
|
|
|
|
|
std::shared_ptr<SoundManagerSingleton> createSoundManagerSingleton();
|
2023-06-16 20:15:21 +02:00
|
|
|
std::unique_ptr<ISoundManager> createOpenALSoundManager(
|
|
|
|
SoundManagerSingleton *smg,
|
|
|
|
std::unique_ptr<SoundFallbackPathProvider> fallback_path_provider);
|