Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
sound_openal.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
5#pragma once
6
7#include "client/sound.h"
8#include <memory>
9
10namespace sound { class SoundManagerSingleton; }
12
13extern std::shared_ptr<SoundManagerSingleton> g_sound_manager_singleton;
14
15std::shared_ptr<SoundManagerSingleton> createSoundManagerSingleton();
16std::unique_ptr<ISoundManager> createOpenALSoundManager(
18 std::unique_ptr<SoundFallbackPathProvider> fallback_path_provider);
Class for the openal device and context.
Definition sound_singleton.h:20
Definition al_extensions.cpp:11
std::shared_ptr< SoundManagerSingleton > g_sound_manager_singleton
Definition sound_openal.cpp:13
std::unique_ptr< ISoundManager > createOpenALSoundManager(SoundManagerSingleton *smg, std::unique_ptr< SoundFallbackPathProvider > fallback_path_provider)
Definition sound_openal.cpp:24
std::shared_ptr< SoundManagerSingleton > createSoundManagerSingleton()
Definition sound_openal.cpp:15