Sound Bakery  v0.1.0
Open-source audio middleware for games
|
A runtime graph of nodes and busses, playing a sound or many. More...
#include <voice.h>
Public Member Functions | |
Voice (GameObject *owningObject) | |
void | playContainer (Container *container) |
void | update () |
bool | playingContainer (Container *container) const noexcept |
const std::vector< std::unique_ptr< NodeInstance > > & | getVoices () const noexcept |
std::size_t | voices () const |
NodeInstance * | voice (std::size_t index) const |
bool | isPlaying () const |
GameObject * | getOwningGameObject () const |
Public Member Functions inherited from SB::Core::Object | |
template<typename T > | |
T * | tryConvertObject () noexcept |
Gets the most derived type of this object and upcasts it to T. | |
template<typename T > | |
const T * | tryConvertObject () const noexcept |
rttr::type | getType () const |
Public Member Functions inherited from SB::Core::ObjectUtilities | |
SB::Engine::System * | getSystem () const |
sc_system * | getChef () const |
ma_engine * | getMini () const |
Additional Inherited Members | |
Public Attributes inherited from SB::Core::ObjectUtilities | |
std::string | m_debugName |
A runtime graph of nodes and busses, playing a sound or many.