Struct alto::Device
[−]
[src]
pub struct Device(_);
A handle to any kind of output device.
Trait Implementations
impl DeviceObject for Device
[src]
fn alto(&self) -> &Alto
AltoInner instance from which this device was opened.
fn specifier(&self) -> Option<&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 enumerate_soft_hrtfs(&self) -> Vec<CString>
alcGetStringiSOFT(ALC_HRTF_SPECIFIER_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn soft_hrtf_status(&self) -> SoftHrtfStatus
alcGetIntegerv(ALC_HRTF_STATUS_SOFT)
Requires ALC_SOFT_HRTF
Read more
fn soft_output_limiter(&self) -> bool
alcGetIntegerv(ALC_OUTPUT_LIMITER_SOFT)
Requires ALC_SOFT_output_limiter
Read more
fn max_aux_sends(&self) -> ALCint
alcGetIntegerv(ALC_MAX_AUXILIARY_SENDS)
Requires ALC_EXT_EFX
Read more
fn to_device(&self) -> Device
Return a new handle to this device.