CommonLibSSE (Parapets fork)
|
#include <BSAudioManager.h>
Public Types | |
enum class | Flags : std::uint32_t { ManagerInitialized = 1 << 0 , PlatformInitialized = 1 << 1 , PlatformInitFailed = 1 << 2 , CacheEnabled = 1 << 3 , ShuttingDown = 1 << 4 , RunDisabled = 1 << 5 } |
Public Member Functions | |
void | ClearCache () |
void | ComposeMessage (SOUND_MSG a_message, std::uint32_t a_id=0, std::int32_t a_iData=0, void *a_pData=nullptr, NiPointer< NiAVObject > a_spData=nullptr, const NiPoint3 &a_vector3={}) |
bool | GetSoundHandle (BSSoundHandle &a_soundHandle, BSISoundDescriptor *a_descriptor, std::uint32_t a_flags=0x1A) |
void | KillAll (bool a_waitForCompletion=false, std::uint32_t a_waitTicks=1000) |
bool | Play (FormID a_soundFormID) |
bool | Play (BSISoundDescriptor *a_descriptor) |
void | PrecacheDescriptor (const BSISoundDescriptor *a_descriptor, std::uint32_t a_flags) |
void | SetCacheEnabled (bool a_enabled) |
constexpr bool | GetCacheEnabled () const noexcept |
Static Public Member Functions | |
static BSAudioManager * | GetSingleton () |
static BSAudio * | QPlatformInstance () |
Public Attributes | |
std::uint32_t | frontQueue |
std::uint32_t | backQueue |
SoundMessageList * | messageQueues [2] |
SoundMessageStack * | freeMessages |
SoundMessageStack * | processedMessages |
BSTHashMap< std::uint32_t, BSGameSound * > | activeSounds |
BSTHashMap< std::uint32_t, BSSoundInfo * > | stateMap |
BSTHashMap< std::uint32_t, NiPointer< NiAVObject > > | movingSounds |
BSTHashMap< const NiAVObject *, const BSISoundOutputModel * > | objectOutputOverrides |
BSTList< BSGameSound * > | audioCache |
std::uint32_t | audioCacheSize |
std::uint32_t | ownerThreadID |
BSAudioManagerThread * | ownerThread |
std::uint32_t | unk100 |
std::uint32_t | audioHWThread |
BSAudioInit | initSettings |
std::uint32_t | maxCacheSize |
std::uint32_t | maxAudioCacheSize |
std::uint32_t | maxSizeForCachedSound |
stl::enumeration< Flags, std::uint32_t > | flags |
float | masterVolume |
std::uint32_t | asyncReadPriorityThreshold |
BSAudioCallbacks | audioCallbacks |
|
strong |
void RE::BSAudioManager::ClearCache | ( | ) |
void RE::BSAudioManager::ComposeMessage | ( | SOUND_MSG | a_message, |
std::uint32_t | a_id = 0 , |
||
std::int32_t | a_iData = 0 , |
||
void * | a_pData = nullptr , |
||
NiPointer< NiAVObject > | a_spData = nullptr , |
||
const NiPoint3 & | a_vector3 = {} |
||
) |
|
inlineconstexprnoexcept |
|
static |
bool RE::BSAudioManager::GetSoundHandle | ( | BSSoundHandle & | a_soundHandle, |
BSISoundDescriptor * | a_descriptor, | ||
std::uint32_t | a_flags = 0x1A |
||
) |
void RE::BSAudioManager::KillAll | ( | bool | a_waitForCompletion = false , |
std::uint32_t | a_waitTicks = 1000 |
||
) |
bool RE::BSAudioManager::Play | ( | BSISoundDescriptor * | a_descriptor | ) |
bool RE::BSAudioManager::Play | ( | FormID | a_soundFormID | ) |
void RE::BSAudioManager::PrecacheDescriptor | ( | const BSISoundDescriptor * | a_descriptor, |
std::uint32_t | a_flags | ||
) |
|
static |
void RE::BSAudioManager::SetCacheEnabled | ( | bool | a_enabled | ) |
BSTHashMap<std::uint32_t, BSGameSound*> RE::BSAudioManager::activeSounds |
std::uint32_t RE::BSAudioManager::asyncReadPriorityThreshold |
BSTList<BSGameSound*> RE::BSAudioManager::audioCache |
std::uint32_t RE::BSAudioManager::audioCacheSize |
BSAudioCallbacks RE::BSAudioManager::audioCallbacks |
std::uint32_t RE::BSAudioManager::audioHWThread |
std::uint32_t RE::BSAudioManager::backQueue |
stl::enumeration<Flags, std::uint32_t> RE::BSAudioManager::flags |
SoundMessageStack* RE::BSAudioManager::freeMessages |
std::uint32_t RE::BSAudioManager::frontQueue |
BSAudioInit RE::BSAudioManager::initSettings |
float RE::BSAudioManager::masterVolume |
std::uint32_t RE::BSAudioManager::maxAudioCacheSize |
std::uint32_t RE::BSAudioManager::maxCacheSize |
std::uint32_t RE::BSAudioManager::maxSizeForCachedSound |
SoundMessageList* RE::BSAudioManager::messageQueues[2] |
BSTHashMap<std::uint32_t, NiPointer<NiAVObject> > RE::BSAudioManager::movingSounds |
BSTHashMap<const NiAVObject*, const BSISoundOutputModel*> RE::BSAudioManager::objectOutputOverrides |
BSAudioManagerThread* RE::BSAudioManager::ownerThread |
std::uint32_t RE::BSAudioManager::ownerThreadID |
SoundMessageStack* RE::BSAudioManager::processedMessages |
BSTHashMap<std::uint32_t, BSSoundInfo*> RE::BSAudioManager::stateMap |
std::uint32_t RE::BSAudioManager::unk100 |