Struct alto::Context [] [src]

pub struct Context<'d> { /* fields omitted */ }

Methods

impl<'d> Context<'d>
[src]

The device from which this context was created.

Raw context pointer as provided by OpenAL.

Query presence of an extension.

Distance model applied to all sources from this context.

Using per-source distance model settings. Requires AL_EXT_source_distance_model.

Doppler factor applied based on relative velocities.

Speed of sound, used for doppler calculations.

Global gain.

Position of the listener.

Velocity of the listener.

Orientation of the listener, consisting of a forward vector and an up vector.

Create a new, empty buffer object.

Create a new static source.

Create a new streaming source.

Begin playing all specified sources simultaneously.

Pause all specified sources simultaneously.

Stop all specified sources simultaneously.

Rewind all specified sources simultaneously.

Suspend state updates for the context, returning a guard object. Until the guard object is dropped, any state changes for the context are deferred. After the guard is dropped, all pending changes will be applied simultaneously.

Trait Implementations

impl<'d> PartialEq for Context<'d>
[src]

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

This method tests for !=.

impl<'d> Eq for Context<'d>
[src]

impl<'d> Drop for Context<'d>
[src]

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

impl<'d> Send for Context<'d>
[src]

impl<'d> Sync for Context<'d>
[src]