[][src]Struct alto::OutputDevice

pub struct OutputDevice(_);

A regular output device. This is typically a device as reported by the operating system.

Methods

impl OutputDevice[src]

pub fn new_context(&self, attrs: Option<ContextAttrs>) -> AltoResult<Context>[src]

alcCreateContext()

pub fn soft_pause(&self) -> AltoResult<()>[src]

alcDevicePauseSOFT() Requires ALC_SOFT_pause_device

pub fn soft_resume(&self)[src]

alcDeviceResumeSOFT() Requires ALC_SOFT_pause_device

pub fn soft_reset(&self, attrs: Option<ContextAttrs>) -> AltoResult<()>[src]

alcDevicePauseSOFT() Requires ALC_SOFT_HRTF

Trait Implementations

impl DeviceObject for OutputDevice[src]

impl Sync for OutputDevice[src]

impl Send for OutputDevice[src]

impl PartialEq<OutputDevice> for OutputDevice[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Eq for OutputDevice[src]

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T