Trait alto::DeviceTrait [] [src]

pub trait DeviceTrait {
    fn alto(&self) -> &Alto;
    fn specifier(&self) -> &CStr;
    fn raw_device(&self) -> *mut ALCdevice;
    fn is_extension_present(&self, Alc) -> bool;
    fn connected(&self) -> AltoResult<bool>;
    fn enumerate_soft_hrtfs(&self) -> AltoResult<Vec<CString>>;
    fn soft_hrtf_status(&self) -> AltoResult<SoftHrtfStatus>;
}

Common capabilities expoed by both real and loopback devices.

Required Methods

Alto instance from which this device was opened.

Specifier string used to open this device.

Raw handle as exposed by OpenAL.

Query the presence of an ALC extension.

Polls the connection state. If this ever returns false, then the device must be closed and reopened; it will not become true again.

Enumerate the supported HRTF functions.

Current HRTF mode.

Trait Implementations

impl<'a> PartialEq for DeviceTrait + 'a
[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 DeviceTrait
[src]

Implementors