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>
alcCreateContext()
fn soft_pause(&self) -> AltoResult<()>
alcDevicePauseSOFT()
Requires ALC_SOFT_pause_device
fn soft_resume(&self)
alcDeviceResumeSOFT()
Requires ALC_SOFT_pause_device
fn soft_reset(&self, attrs: Option<ContextAttrs>) -> AltoResult<()>
alcDevicePauseSOFT()
Requires ALC_SOFT_HRTF
Trait Implementations
impl DeviceObject for OutputDevice[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.
impl PartialEq for OutputDevice[src]
fn eq(&self, other: &OutputDevice) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.