carb::audio::setVoiceFrequencyRatio

Defined in carb/audio/AudioUtils.h

inline void carb::audio::setVoiceFrequencyRatio(const IAudioPlayback *iface, Voice *voice, float frequencyRatio)

Set the frequencyRatio of a voice.

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

  • voice[in] The voice to alter.

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