Function ctru_sys::CSND_SetChnRegs

source ·
pub unsafe extern "C" fn CSND_SetChnRegs(
    flags: u32_,
    physaddr0: u32_,
    physaddr1: u32_,
    totalbytesize: u32_,
    chnVolumes: u32_,
    capVolumes: u32_
)
Expand description

Sets CSND’s channel registers.

§Arguments

  • flags - Flags to set.
  • physaddr0 - Physical address of the first buffer to play.
  • physaddr1 - Physical address of the second buffer to play.
  • totalbytesize - Total size of the data to play.
  • chnVolumes - Channel volume data.
  • capVolumes - Capture volume data.