carb::audio::setVoiceMatrix

Defined in carb/audio/AudioUtils.h

inline void carb::audio::setVoiceMatrix(const IAudioPlayback *iface, Voice *voice, const float *matrix)

Set the matrix of a voice.

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

  • voice[in] The voice to alter.

  • matrix[in] The new matrix to set on voice. This can be nullptr to revert to a default matrix.