Re-exports

pub use cpal;
pub use crate::source::Source;

Modules

A simple source of samples coming from a buffer.

Mixer that plays multiple sounds at the same time.

Queue that plays sounds one after the other.

Sources of sound and various filters.

Structs

The Device implementation associated with the platform’s dynamically dispatched Host type.

The Devices iterator associated with the platform’s dynamically dispatched Host type.

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

More flexible handle to a OutputStream that provides playback.

Handle to an device that outputs sounds.

Describes a single supported stream configuration, retrieved via either a SupportedStreamConfigRange instance or one of the Device::default_input/output_config methods.

Enums

An error that might occur while attempting to enumerate the available devices on a system.

An error occurred while attemping to play a sound.

Traits

A device that is capable of audio input and/or output.

Represents a value of a single sample.

Type Definitions

A host’s device iterator yielding only input devices.

A host’s device iterator yielding only output devices.