[][src]Trait portaudio_rs::stream::SampleType

pub trait SampleType {
    fn sample_format() -> u64;
}

Types that are allowed to be used as samples in a Stream

WARNING: It is not advised to implement this trait for any other types as the size and flag may not be the correct one.

Required methods

fn sample_format() -> u64

Should return the PortAudio flag which corresponds to the type

Loading content...

Implementations on Foreign Types

impl SampleType for f32[src]

impl SampleType for i32[src]

impl SampleType for i16[src]

impl SampleType for i8[src]

impl SampleType for u8[src]

Loading content...

Implementors

Loading content...