Struct cubeb_core::StreamParamsBuilder
[−]
[src]
pub struct StreamParamsBuilder(_);
Methods
impl StreamParamsBuilder
[src]
pub fn new() -> Self
[src]
pub fn format(self, format: SampleFormat) -> Self
[src]
pub fn rate(self, rate: u32) -> Self
[src]
pub fn channels(self, channels: u32) -> Self
[src]
pub fn layout(self, layout: ChannelLayout) -> Self
[src]
pub fn prefs(self, prefs: StreamPrefs) -> Self
[src]
pub fn take(&self) -> StreamParams
[src]
Trait Implementations
impl Debug for StreamParamsBuilder
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more