Trait alto::DeviceObject[][src]

pub unsafe trait DeviceObject: Any {
    fn alto(&self) -> &Alto;
fn specifier(&self) -> Option<&CStr>;
fn as_raw(&self) -> *mut ALCdevice;
fn is_extension_present(&self, _: Alc) -> bool;
fn connected(&self) -> AltoResult<bool>;
fn enumerate_soft_hrtfs(&self) -> Vec<CString>;
fn soft_hrtf_status(&self) -> SoftHrtfStatus;
fn soft_output_limiter(&self) -> bool;
fn max_aux_sends(&self) -> ALCint;
fn to_device(&self) -> Device; }

Common capabilities expoed by both real and loopback devices.

Required Methods

AltoInner instance from which this device was opened.

Specifier string used to open this device.

Raw handle as exposed by OpenAL.

alcIsExtensionPresent()

alcGetIntegerv(ALC_CONNECTED) Requires ALC_EXT_disconnect

Important traits for Vec<u8>

alcGetStringiSOFT(ALC_HRTF_SPECIFIER_SOFT) Requires ALC_SOFT_HRTF

alcGetIntegerv(ALC_HRTF_STATUS_SOFT) Requires ALC_SOFT_HRTF

alcGetIntegerv(ALC_OUTPUT_LIMITER_SOFT) Requires ALC_SOFT_output_limiter

alcGetIntegerv(ALC_MAX_AUXILIARY_SENDS) Requires ALC_EXT_EFX

Return a new handle to this device.

Trait Implementations

impl PartialEq for DeviceObject
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DeviceObject
[src]

Implementors