Struct openal::Capture
[−]
[src]
pub struct Capture<T: Sample> { // some fields omitted }
Represents a capture device.
Methods
impl<T: Sample> Capture<T>
[src]
fn start(&mut self)
Starts recording.
fn stop(&mut self)
Stops recording.
fn len(&self) -> usize
Gets the number of samples available.
fn take(&mut self) -> Result<Vec<T>, Error>
Takes available samples out of the device.
Trait Implementations
impl<T: Sample> Send for Capture<T>
[src]
impl<T: Sample> Device for Capture<T>
[src]
fn as_ptr(&self) -> *const ALCdevice
Return a *const
pointer for the device.
fn as_mut_ptr(&mut self) -> *mut ALCdevice
Return a *mut
pointer for the device.