Struct alto::LoopbackDevice
[−]
[src]
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]
fn new_context(
&self,
freq: ALCint,
attrs: Option<LoopbackAttrs>
) -> AltoResult<Context>
[src]
&self,
freq: ALCint,
attrs: Option<LoopbackAttrs>
) -> AltoResult<Context>
alcCreateContext()
fn soft_render_samples<R: AsBufferDataMut<F>>(&mut self, data: R) -> usize
[src]
alcRenderSamplesSOFT()
Returns the number of sample frames rendered to the slice.
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]
AltoInner instance from which this device was opened.
fn specifier(&self) -> Option<&CStr>
[src]
Specifier string used to open this device.
fn as_raw(&self) -> *mut ALCdevice
[src]
Raw handle as exposed by OpenAL.
fn connected(&self) -> AltoResult<bool>
[src]
alcGetIntegerv(ALC_CONNECTED)
Requires ALC_EXT_disconnect
Read more
fn is_extension_present(&self, ext: Alc) -> bool
[src]
alcIsExtensionPresent()
fn enumerate_soft_hrtfs(&self) -> Vec<CString>
[src]
alcGetStringiSOFT(ALC_HRTF_SPECIFIER_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn soft_hrtf_status(&self) -> SoftHrtfStatus
[src]
alcGetIntegerv(ALC_HRTF_STATUS_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn soft_output_limiter(&self) -> bool
[src]
alcGetIntegerv(ALC_OUTPUT_LIMITER_SOFT)
Requires ALC_SOFT_output_limiter
Read more
fn max_aux_sends(&self) -> ALCint
[src]
alcGetIntegerv(ALC_MAX_AUXILIARY_SENDS)
Requires ALC_EXT_EFX
Read more
fn to_device(&self) -> Device
[src]
Return a new handle to this device.
impl<F: LoopbackFrame> PartialEq for LoopbackDevice<F>
[src]
fn eq(&self, other: &LoopbackDevice<F>) -> bool
[src]
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[src]
This method tests for !=
.