alsa_sys

Function snd_spcm_init_duplex

Source
pub unsafe extern "C" fn snd_spcm_init_duplex(
    playback_pcm: *mut snd_pcm_t,
    capture_pcm: *mut snd_pcm_t,
    rate: c_uint,
    channels: c_uint,
    format: snd_pcm_format_t,
    subformat: snd_pcm_subformat_t,
    latency: snd_spcm_latency_t,
    _access: snd_pcm_access_t,
    xrun_type: snd_spcm_xrun_type_t,
    duplex_type: snd_spcm_duplex_type_t,
) -> c_int