Struct alto::Device [] [src]

pub struct Device<'a> { /* fields omitted */ }

An audio device as exposed by the OpenAL implementation. This will typically be a device endpoint as reported by the operating system.

Methods

impl<'a> Device<'a>
[src]

Create a new context from this device.

Pause output of this device and return a lock. Output will resume when this lock is dropped.

Attempt to reset the device with new attributes. Requires the ALC_SOFT_HRTF.

Trait Implementations

impl<'a> DeviceTrait for Device<'a>
[src]

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. Read more

Enumerate the supported HRTF functions.

Current HRTF mode.

impl<'a> PartialEq for Device<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for Device<'a>
[src]

impl<'a> Drop for Device<'a>
[src]

A method called when the value goes out of scope. Read more

impl<'a> Send for Device<'a>
[src]

impl<'a> Sync for Device<'a>
[src]