Struct alto::OutputDevice
[−]
[src]
pub struct OutputDevice(_);
A regular output device. This is typically a device as reported by the operating system.
Methods
impl OutputDevice
[src]
fn new_context(&self, attrs: Option<ContextAttrs>) -> AltoResult<Context>
[src]
alcCreateContext()
fn soft_pause(&self) -> AltoResult<()>
[src]
alcDevicePauseSOFT()
Requires ALC_SOFT_pause_device
fn soft_resume(&self)
[src]
alcDeviceResumeSOFT()
Requires ALC_SOFT_pause_device
fn soft_reset(&self, attrs: Option<ContextAttrs>) -> AltoResult<()>
[src]
alcDevicePauseSOFT()
Requires ALC_SOFT_HRTF
Trait Implementations
impl DeviceObject for OutputDevice
[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 PartialEq for OutputDevice
[src]
fn eq(&self, other: &OutputDevice) -> 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 !=
.