pub struct OutputStream { /* private fields */ }
Expand description

cpal::Stream container. Also see the more useful OutputStreamHandle.

If this is dropped playback will end & attached OutputStreamHandles will no longer work.

Implementations

Returns a new stream & handle using the given output device.

Return a new stream & handle using the default output device.

On failure will fallback to trying any non-default output devices.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.