Struct alto::Context[][src]

pub struct Context(_);

A listener context.

Methods

impl Context
[src]

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_GAIN_LIMIT_SOFT) Requires AL_SOFT_gain_clamp_ex

Important traits for Vec<u8>

alGetStringiSOFT(AL_RESAMPLER_NAME_SOFT) Requires AL_SOFT_source_resampler

alGetListenerf(AL_METERS_PER_UNIT) Requires ALC_EXT_EFX

alListenerf(AL_METERS_PER_UNIT) Requires ALC_EXT_EFX

alGenBuffers() To ensure well defined state, the buffer is assigned data immediately.

alGenSources()

alGenSources()

alDeferUpdatesSOFT() Requires AL_SOFT_deferred_updates

alGenAuxiliaryEffectSlots() Requires ALC_EXT_EFX

alGenEffects() Requires ALC_EXT_EFX

alGenFilters() Requires ALC_EXT_EFX

Trait Implementations

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Context
[src]

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

This method tests for !=.

impl Eq for Context
[src]

impl Send for Context
[src]

impl Sync for Context
[src]