Sound Bakery  v0.1.0
Open-source audio middleware for games
|
Public Member Functions | |
Voice * | playContainer (Container *container) |
void | postEvent (Event *event) |
void | stopVoice (Voice *voice) |
void | stopContainer (Container *container) |
void | stopAll () |
void | update () |
bool | isPlaying () const noexcept |
std::size_t | voiceCount () const noexcept |
Voice * | getVoice (std::size_t index) const |
float | getFloatParameterValue (const SB::Core::DatabasePtr< FloatParameter > ¶meter) const |
Finds the parameter value on this gameobject. | |
SB_ID | getIntParameterValue (const SB::Core::DatabasePtr< NamedParameter > ¶meter) const |
Finds the parameter value on this gameobject. | |
void | setFloatParameterValue (const FloatParameter::LocalParameterValuePair ¶meterValue) |
void | setIntParameterValue (const NamedParameter::LocalParameterValuePair ¶meterValue) |
LocalParameterList | getLocalParameters () 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 |
|
inline |
Finds the parameter value on this gameobject.
If there is no local value, the global parameter value is used.
parameter | to get the value for. |
|
inline |
Finds the parameter value on this gameobject.
If there is no local value, the global parameter value is used.
parameter | to get the value for. |