Struct nannou::app::Audio [] [src]

pub struct Audio { /* fields omitted */ }

An App's audio API.

Methods

impl Audio
[src]

Important traits for Devices
[src]

Enumerate the available audio devices on the system.

Produces an iterator yielding audio::Devices.

Important traits for Devices
[src]

Enumerate the available audio devices on the system that support input streams.

Produces an iterator yielding audio::Devices.

Important traits for Devices
[src]

Enumerate the available audio devices on the system that support output streams.

Produces an iterator yielding audio::Devices.

[src]

The current default audio input device.

[src]

The current default audio output device.

[src]

Begin building a new input audio stream.

If this is the first time a stream has been created, this method will spawn the cpal::EventLoop::run method on its own thread, ready to run built streams.

[src]

Begin building a new output audio stream.

If this is the first time a stream has been created, this method will spawn the cpal::EventLoop::run method on its own thread, ready to run built streams.

Trait Implementations

Auto Trait Implementations

impl Send for Audio

impl !Sync for Audio