Struct cubeb_core::Stream [] [src]

pub struct Stream(_);

Methods

impl Stream
[src]

[src]

[src]

Methods from Deref<Target = StreamRef>

[src]

[src]

Start playback.

[src]

Stop playback.

[src]

Reset stream to the default device.

[src]

Get the current stream playback position.

[src]

Get the latency for this stream, in frames. This is the number of frames between the time cubeb acquires the data in the callback and the listener can hear the sound.

[src]

Set the volume for a stream.

[src]

If the stream is stereo, set the left/right panning. If the stream is mono, this has no effect.

panning a number from -1.0 to 1.0. -1.0 means that the stream is fully mixed in the left channel, 1.0 means the stream is fully mixed in the right channel. 0.0 is equal power in the right and left channel (default).

[src]

Get the current output device for this stream.

[src]

Destroy a cubeb_device structure.

[src]

Set a callback to be notified when the output device changes.

[src]

Trait Implementations

impl Drop for Stream
[src]

[src]

Executes the destructor for this type. Read more

impl Deref for Stream
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl DerefMut for Stream
[src]

[src]

Mutably dereferences the value.

impl Borrow<StreamRef> for Stream
[src]

[src]

Immutably borrows from an owned value. Read more

impl AsRef<StreamRef> for Stream
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Stream

impl !Sync for Stream