Struct cubeb::StreamParamsBuilder
[−]
[src]
pub struct StreamParamsBuilder(_);
Methods
impl StreamParamsBuilder
[src]
pub fn new() -> StreamParamsBuilder
[src]
pub fn format(self, format: SampleFormat) -> StreamParamsBuilder
[src]
pub fn rate(self, rate: u32) -> StreamParamsBuilder
[src]
pub fn channels(self, channels: u32) -> StreamParamsBuilder
[src]
pub fn layout(self, layout: ChannelLayout) -> StreamParamsBuilder
[src]
pub fn prefs(self, prefs: StreamPrefs) -> StreamParamsBuilder
[src]
pub fn take(&self) -> StreamParams
[src]
Trait Implementations
impl Default for StreamParamsBuilder
[src]
fn default() -> StreamParamsBuilder
[src]
Returns the "default value" for a type. Read more