Struct alto::SoftPauseLock [] [src]

pub struct SoftPauseLock<'a: 'd, 'd>(_);

An RAII guard that keeps a device paused. When this lock is dropped, the device will resume playback.

Methods from Deref<Target=Device<'a>>

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: 'd, 'd> Deref for SoftPauseLock<'a, 'd>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a: 'd, 'd> Drop for SoftPauseLock<'a, 'd>
[src]

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