Struct nannou::audio::device::Device [] [src]

pub struct Device { /* fields omitted */ }

A device that can be used to spawn an audio stream.

Methods

impl Device
[src]

[src]

The maximum number of output channels of any format supported by this device.

[src]

The maximum number of input channels of any format supported by this device.

Methods from Deref<Target = Device>

[src]

The human-readable name of the device.

[src]

An iterator yielding formats that are supported by the backend.

Can return an error if the device is no longer valid (eg. it has been disconnected).

[src]

An iterator yielding output stream formats that are supported by the device.

Can return an error if the device is no longer valid (eg. it has been disconnected).

[src]

The default input stream format for the device.

[src]

The default output stream format for the device.

Trait Implementations

impl Deref for Device
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

Auto Trait Implementations

impl Send for Device

impl Sync for Device