Function ctru_sys::CSND_VOL

source ·
pub unsafe extern "C" fn CSND_VOL(vol: f32, pan: f32) -> u32_
Expand description

Converts a vol-pan pair into a left/right volume pair used by the hardware.

§Arguments

  • vol - Volume to use.
  • pan - Pan to use.

§Returns

A left/right volume pair for use by hardware.