[−][src]Struct alto::LoopbackDevice
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]
&self,
freq: ALCint,
attrs: Option<LoopbackAttrs>
) -> AltoResult<Context>
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]
&self,
freq: ALCint,
attrs: Option<LoopbackAttrs>
) -> AltoResult<()>
alcDevicePauseSOFT()
Requires ALC_SOFT_HRTF
Trait Implementations
impl<F: LoopbackFrame> DeviceObject for LoopbackDevice<F>
[src]
fn alto(&self) -> &Alto
[src]
fn specifier(&self) -> Option<&CStr>
[src]
fn as_raw(&self) -> *mut ALCdevice
[src]
fn connected(&self) -> AltoResult<bool>
[src]
fn is_extension_present(&self, ext: Alc) -> bool
[src]
fn enumerate_soft_hrtfs(&self) -> Vec<CString>
[src]
fn soft_hrtf_status(&self) -> SoftHrtfStatus
[src]
fn soft_output_limiter(&self) -> bool
[src]
fn max_aux_sends(&self) -> ALCint
[src]
fn to_device(&self) -> Device
[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]
fn eq(&self, other: &LoopbackDevice<F>) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis 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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,