Struct alto::SuspendLock [] [src]

pub struct SuspendLock<'d: 'c, 'c>(_);

An RAII lock that will suspend state updates while held. When this lock is dropped, the context will apply all pending updates.

Methods from Deref<Target=Context<'d>>

The device from which this context was created.

Raw context pointer as provided by OpenAL.

alIsExtensionPresent()

alGetInteger(AL_DISTANCE_MODEL)

alDistanceModel()

alIsEnabled(AL_SOURCE_DISTANCE_MODEL) Requires AL_EXT_source_distance_model

alEnable/alDisable(AL_SOURCE_DISTANCE_MODEL) Requires AL_EXT_source_distance_model

alGetFloat(AL_DOPPLER_FACTOR)

alDopplerFactor()

alGetFloat(AL_SPEED_OF_SOUND)

alSpeedOfSound()

alGetListenerv(AL_GAIN)

alListenerf(AL_GAIN)

alGetListenerfv(AL_POSITION)

alListenerfv(AL_POSITION)

alGetListenerfv(AL_VELOCITY)

alListenerfv(AL_VELOCITY)

alGetListenerfv(AL_ORIENTATION)

alListenerfv(AL_ORIENTATION)

alGetListenerf(AL_METERS_PER_UNIT) Requires ALC_EXT_EFX

alListenerf(AL_METERS_PER_UNIT) Requires ALC_EXT_EFX

alGenBuffers()

alGenSources()

alGenSources()

alSourcePlayv()

alSourcePausev()

alSourceStopv()

alSourceRewindv()

alcSuspendContext() or alDeferUpdatesSOFT() if AL_SOFT_deferred_updates is available.

alGenAuxiliaryEffectSlots() Requires ALC_EXT_EFX

alGenEffects() Requires ALC_EXT_EFX

alGenFilters() Requires ALC_EXT_EFX

Trait Implementations

impl<'d: 'c, 'c> Deref for SuspendLock<'d, 'c>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'d: 'c, 'c> Drop for SuspendLock<'d, 'c>
[src]

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