Struct rodio::SpatialSink [] [src]

pub struct SpatialSink { /* fields omitted */ }

Methods

impl SpatialSink
[src]

[src]

Builds a new SpatialSink.

[src]

Sets the position of the sound emitter in 3 dimensional space.

[src]

Sets the position of the left ear in 3 dimensional space.

[src]

Sets the position of the right ear in 3 dimensional space.

[src]

Appends a sound to the queue of sounds to play.

[src]

The value 1.0 is the "normal" volume (unfiltered input). Any value other than 1.0 will multiply each sample by this value.

[src]

Changes the volume of the sound.

The value 1.0 is the "normal" volume (unfiltered input). Any value other than 1.0 will multiply each sample by this value.

[src]

Resumes playback of a paused sound.

No effect if not paused.

[src]

Pauses playback of this sink.

No effect if already paused.

A paused sound can be resumed with play().

[src]

Gets if a sound is paused

Sounds can be paused and resumed using pause() and play(). This gets if a sound is paused.

[src]

Destroys the sink without stopping the sounds that are still playing.

[src]

Sleeps the current thread until the sound ends.

[src]

Returns true if this sink has no more sounds to play.

Trait Implementations

Auto Trait Implementations

impl Send for SpatialSink

impl Sync for SpatialSink