pub unsafe extern "C" fn DSP_ReadPipeIfPossible(
    channel: u32_,
    peer: u32_,
    buffer: *mut c_void,
    length: u16_,
    length_read: *mut u16_
) -> Result
Expand description

Reads a pipe if possible.

§Arguments

  • channel - unknown. Usually 2
  • peer - unknown. Usually 0
  • buffer - The buffer that will store the values read from the pipe
  • length - Length of the buffer
  • length_read - Number of bytes read by the command