Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Engine::Voice Class Reference

A runtime graph of nodes and busses, playing a sound or many. More...

#include <voice.h>

Inheritance diagram for SB::Engine::Voice:
Collaboration diagram for SB::Engine::Voice:

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
 
NodeInstancevoice (std::size_t index) const
 
bool isPlaying () const
 
GameObjectgetOwningGameObject () const
 
- Public Member Functions inherited from SB::Core::Object
template<typename T >
TtryConvertObject () noexcept
 Gets the most derived type of this object and upcasts it to T.
 
template<typename T >
const TtryConvertObject () const noexcept
 
rttr::type getType () const
 
- Public Member Functions inherited from SB::Core::ObjectUtilities
SB::Engine::SystemgetSystem () const
 
sc_systemgetChef () const
 
ma_enginegetMini () const
 

Additional Inherited Members

- Public Attributes inherited from SB::Core::ObjectUtilities
std::string m_debugName
 

Detailed Description

A runtime graph of nodes and busses, playing a sound or many.


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