Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::AudioManager Class Referenceexport

Public Member Functions

 AudioManager ()=default
 ~AudioManager ()
std::span< std::string const > getAmbientSound () const
std::uint32_t getAmbientSoundIndex () const
std::string_view getCurrentAmbientSound () const
std::string_view getState () const
void load (json config)
void startAmbient (std::uint32_t const index=0)
void stopAmbient ()
void toggleLooping ()
void clear ()
void init ()

Constructor & Destructor Documentation

◆ AudioManager()

Vyroda::AudioManager::AudioManager ( )
default

◆ ~AudioManager()

Vyroda::AudioManager::~AudioManager ( )

Member Function Documentation

◆ clear()

void Vyroda::AudioManager::clear ( )
Here is the call graph for this function:

◆ getAmbientSound()

std::span< std::string const > Vyroda::AudioManager::getAmbientSound ( ) const
inline

◆ getAmbientSoundIndex()

std::uint32_t Vyroda::AudioManager::getAmbientSoundIndex ( ) const
inline

◆ getCurrentAmbientSound()

std::string_view Vyroda::AudioManager::getCurrentAmbientSound ( ) const
inline

◆ getState()

std::string_view Vyroda::AudioManager::getState ( ) const
Here is the call graph for this function:

◆ init()

void Vyroda::AudioManager::init ( )
Here is the call graph for this function:

◆ load()

void Vyroda::AudioManager::load ( json config)

◆ startAmbient()

void Vyroda::AudioManager::startAmbient ( std::uint32_t const index = 0)
Here is the call graph for this function:

◆ stopAmbient()

void Vyroda::AudioManager::stopAmbient ( )
Here is the caller graph for this function:

◆ toggleLooping()

void Vyroda::AudioManager::toggleLooping ( )

The documentation for this class was generated from the following files: