Struct alto::LoopbackDevice
[−]
[src]
pub struct LoopbackDevice<'a, F: LoopbackFrame> { /* fields omitted */ }
A loopback device that outputs audio to a memory buffer.
Requires ALC_SOFT_loopback
Methods
impl<'a, F: LoopbackFrame> LoopbackDevice<'a, F>
[src]
fn new_context<A: Into<Option<LoopbackAttrs>>>(
&self,
freq: ALCint,
attrs: A
) -> AltoResult<Context>
&self,
freq: ALCint,
attrs: A
) -> AltoResult<Context>
alcCreateContext()
fn soft_render_samples<R: AsBufferDataMut<F>>(
&mut self,
data: R
) -> AltoResult<()>
&mut self,
data: R
) -> AltoResult<()>
alcRenderSamplesSOFT()
fn soft_reset<A: Into<Option<LoopbackAttrs>>>(
&self,
freq: ALCint,
attrs: A
) -> AltoResult<()>
&self,
freq: ALCint,
attrs: A
) -> AltoResult<()>
alcDevicePauseSOFT()
Requires ALC_SOFT_HRTF
Trait Implementations
impl<'a, F: LoopbackFrame> DeviceTrait for LoopbackDevice<'a, F>
[src]
fn alto(&self) -> &Alto
Alto instance from which this device was opened.
fn specifier(&self) -> &CStr
Specifier string used to open this device.
fn as_raw(&self) -> *mut ALCdevice
Raw handle as exposed by OpenAL.
fn connected(&self) -> AltoResult<bool>
alcGetIntegerv(ALC_CONNECTED)
Requires ALC_EXT_disconnect
Read more
fn is_extension_present(&self, ext: Alc) -> bool
alcIsExtensionPresent()
fn extensions(&self) -> &AlcCache
fn enumerate_soft_hrtfs(&self) -> AltoResult<Vec<CString>>
alcGetStringiSOFT(ALC_HRTF_SPECIFIER_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn soft_hrtf_status(&self) -> AltoResult<SoftHrtfStatus>
alcGetIntegerv(ALC_HRTF_STATUS_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn max_auxiliary_sends(&self) -> AltoResult<ALCint>
alcGetIntegerv(ALC_MAX_AUXILIARY_SENDS)
Requires ALC_EXT_EFX
Read more
impl<'a, F: LoopbackFrame> PartialEq for LoopbackDevice<'a, F>
[src]
fn eq(&self, other: &LoopbackDevice<'a, F>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.