Struct cubeb::StreamBuilder
[−]
[src]
pub struct StreamBuilder<'a, F> { /* fields omitted */ }
Methods
impl<'a, F> StreamBuilder<'a, F>
[src]
pub fn new() -> StreamBuilder<'a, F>
[src]
ⓘImportant traits for &'a mut Wpub fn data_callback<D>(&mut self, cb: D) -> &mut Self where
D: FnMut(&[F], &mut [F]) -> isize + Send + Sync + 'static,
[src]
ⓘImportant traits for &'a mut W
D: FnMut(&[F], &mut [F]) -> isize + Send + Sync + 'static,
ⓘImportant traits for &'a mut Wpub fn state_callback<S>(&mut self, cb: S) -> &mut Self where
S: FnMut(State) + Send + Sync + 'static,
[src]
ⓘImportant traits for &'a mut W
S: FnMut(State) + Send + Sync + 'static,
ⓘImportant traits for &'a mut Wpub fn name<T: Into<Vec<u8>>>(&mut self, name: T) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn default_input(&mut self, params: &'a StreamParamsRef) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn input(
&mut self,
device: DeviceId,
params: &'a StreamParamsRef
) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
&mut self,
device: DeviceId,
params: &'a StreamParamsRef
) -> &mut Self
ⓘImportant traits for &'a mut Wpub fn default_output(&mut self, params: &'a StreamParamsRef) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn output(
&mut self,
device: DeviceId,
params: &'a StreamParamsRef
) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
&mut self,
device: DeviceId,
params: &'a StreamParamsRef
) -> &mut Self
ⓘImportant traits for &'a mut Wpub fn latency(&mut self, latency: u32) -> &mut Self
[src]
ⓘImportant traits for &'a mut W
ⓘImportant traits for &'a mut Wpub fn device_changed_cb<CB>(&mut self, cb: CB) -> &mut Self where
CB: FnMut() + Send + Sync + 'static,
[src]
ⓘImportant traits for &'a mut W
CB: FnMut() + Send + Sync + 'static,