[][src]Struct alto::LoopbackDevice

pub struct LoopbackDevice<F: LoopbackFrame>(_, _);

A loopback device that outputs audio to a memory buffer. Requires ALC_SOFT_loopback

Methods

impl<F: LoopbackFrame> LoopbackDevice<F>[src]

pub fn new_context(
    &self,
    freq: ALCint,
    attrs: Option<LoopbackAttrs>
) -> AltoResult<Context>
[src]

alcCreateContext()

pub fn soft_render_samples<R: AsBufferDataMut<F>>(&mut self, data: R) -> usize[src]

alcRenderSamplesSOFT() Returns the number of sample frames rendered to the slice.

pub fn soft_reset(
    &self,
    freq: ALCint,
    attrs: Option<LoopbackAttrs>
) -> AltoResult<()>
[src]

alcDevicePauseSOFT() Requires ALC_SOFT_HRTF

Trait Implementations

impl<F: LoopbackFrame> DeviceObject for LoopbackDevice<F>[src]

impl<F: LoopbackFrame> Sync for LoopbackDevice<F>[src]

impl<F: LoopbackFrame> Send for LoopbackDevice<F>[src]

impl<F: LoopbackFrame> PartialEq<LoopbackDevice<F>> for LoopbackDevice<F>[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl<F: LoopbackFrame> Eq for LoopbackDevice<F>[src]

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T