OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
AudioPlayer.cpp File Reference
#include "AudioPlayer.h"
#include <algorithm>
#include <map>
#include <string>
#include <utility>
#include <thread>
#include <memory>
#include "Engine/Graphics/Indoor.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/SpriteObject.h"
#include "Engine/Spells/Spells.h"
#include "Engine/Party.h"
#include "Engine/Engine.h"
#include "Engine/MapInfo.h"
#include "Engine/EngineFileSystem.h"
#include "Engine/EngineCallObserver.h"
#include "GUI/GUIWindow.h"
#include "Media/AudioBufferDataSource.h"
#include "Library/Logger/Logger.h"
#include "SoundList.h"
#include "OpenALTrack16.h"
#include "OpenALSample16.h"
#include "OpenALAudioDataSource.h"
#include "OpenALSoundProvider.h"

Functions

void PlayLevelMusic ()
 

Variables

std::unique_ptr< AudioPlayerpAudioPlayer
 
static constexpr std::array< float, 10 > pSoundVolumeLevels
 
constexpr Pid FAKE_HOUSE_DOOR_PID = Pid::fromPacked(-7)
 
constexpr Pid FAKE_HOUSE_SPEECH_PID = Pid::fromPacked(-6)
 
OpenALSoundProviderprovider
 

Function Documentation

◆ PlayLevelMusic()

void PlayLevelMusic ( )

Variable Documentation

◆ FAKE_HOUSE_DOOR_PID

constexpr Pid FAKE_HOUSE_DOOR_PID = Pid::fromPacked(-7)
constexpr

◆ FAKE_HOUSE_SPEECH_PID

constexpr Pid FAKE_HOUSE_SPEECH_PID = Pid::fromPacked(-6)
constexpr

◆ pAudioPlayer

std::unique_ptr<AudioPlayer> pAudioPlayer

◆ provider

OpenALSoundProvider* provider
extern

◆ pSoundVolumeLevels

constexpr std::array<float, 10> pSoundVolumeLevels
staticconstexpr
Initial value:
= {{
0.0000000f, 0.1099999f, 0.2199999f, 0.3300000f, 0.4399999f,
0.5500000f, 0.6600000f, 0.7699999f, 0.8799999f, 0.9700000f
}}