Struct openal::source::Stream [] [src]

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

Represents a streaming source for the Listener.

Stream sources will have buffers getting in and out of them, they're useful for playing music and other kind of streaming sounds.

Methods

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

Pushes the data into the source.

Removes a buffer from the front of the queue.

Removes the processed buffers from the queue.

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

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> Deref for Stream<'a>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'a> DerefMut for Stream<'a>
[src]

The method called to mutably dereference a value

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

Formats the value using the given formatter.