carb::audio::setVoiceVolume

Defined in carb/audio/AudioUtils.h

inline void carb::audio::setVoiceVolume(const IAudioPlayback *iface, Voice *voice, float volume)

Set the volume of a voice.

Parameters
  • iface[in] The IAudioPlayback interface to use.

  • voice[in] The voice to alter.

  • volume[in] The new volume to set on voice.