Struct portaudio::types::PaStreamParameters [-]  [+] [src]

pub struct PaStreamParameters {
    pub device: PaDeviceIndex,
    pub channel_count: i32,
    pub sample_format: PaSampleFormat,
    pub suggested_latency: PaTime,
}

Parameters for one direction (input or output) of a stream.

Fields

device

Index of the device

channel_count

The number of channels for this device

sample_format

Sample format of the device

suggested_latency

The suggested latency for this device

Trait Implementations

Derived Implementations

impl Show for PaStreamParameters

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialOrd for PaStreamParameters

fn partial_cmp(&self, __arg_0: &PaStreamParameters) -> Option<Ordering>

fn lt(&self, __arg_0: &PaStreamParameters) -> bool

fn le(&self, __arg_0: &PaStreamParameters) -> bool

fn gt(&self, __arg_0: &PaStreamParameters) -> bool

fn ge(&self, __arg_0: &PaStreamParameters) -> bool

impl PartialEq for PaStreamParameters

fn eq(&self, __arg_0: &PaStreamParameters) -> bool

fn ne(&self, __arg_0: &PaStreamParameters) -> bool

impl Clone for PaStreamParameters

fn clone(&self) -> PaStreamParameters

fn clone_from(&mut self, source: &Self)