Struct openal::Source [] [src]

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

Represents a static source.

Static sources will have buffers queued that will never change, they're useful for sound effects and similar.

Methods

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

Returns a streaming source.

Gets the state.

Plays the source.

Pauses the source.

Stops the source.

Rewinds the source.

Gets the cone inner angle.

Sets the cone inner angle.

Gets the cone outer angle.

Sets the cone outer angle.

Gets the pitch.

Sets the pitch.

Gets the position.

Sets the position.

Gets the direction.

Sets the direction.

Gets the velocity.

Sets the velocity.

Checks if the source is relative.

Makes the source relative.

Makes the source absolute.

Checks if the source is looping.

Makes the source looping.

Makes the source one-shot.

Gets the gain.

Sets the gain.

Gets the minimum gain.

Sets the minimum gain.

Gets the maximum gain.

Sets the minimum gain.

Gets the offset in the specified representation.

Sets the offset.

Gets how many buffers are queued.

Gets how many buffers have been processed.

Pushes a buffer into the source's queue.

Trait Implementations

impl<'a> PartialEq for Source<'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 Source<'a>
[src]

impl<'a> Debug for Source<'a>
[src]

Formats the value using the given formatter.

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

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