Crate nannou_audio

source ·
Expand description

The nannou audio API and implementation.

  • Host - top-level access to device enumeration and spawning streams.
  • Stream - for managing an input/output audio stream. This may be created via the App’s Audio API.
  • Buffer - contains audio data, either for reading or writing. This is passed to the capture or render function for each stream.
  • Devices - for enumerating all audio devices on the system.
  • Device - for querying information about supported stream formats or for creating a stream targeted towards a specific audio device.
  • Receiver and Requester for buffering input and output streams that may deliver buffers of inconsistent sizes into a stream of consistently sized buffers.

Re-exports

Modules

Structs

  • Some error has occurred that is specific to the backend from which it was produced.
  • The top-level audio API, for enumerating devices and spawning input/output streams.
  • The requested host, although supported on this platform, is unavailable.
  • Information relevant to a single call to the user’s input stream data callback.
  • A timestamp associated with a call to an input stream’s data callback.
  • Information relevant to a single call to the user’s output stream data callback.
  • A timestamp associated with a call to an output stream’s data callback.
  • The SupportedInputConfigs iterator associated with the platform’s dynamically dispatched Host type.
  • The SupportedOutputConfigs iterator associated with the platform’s dynamically dispatched Host type.
  • Describes a single supported stream configuration, retrieved via either a SupportedStreamConfigRange instance or one of the Device::default_input/output_config methods.

Enums