Module standalone_cpal

Module standalone_cpal 

Source
Expand description

Online standalone implementation using CPAL

Re-exports§

pub use self::mock_cpal::virtual_host::VirtualHost;
pub use self::mock_cpal::virtual_host::VirtualHostDevice;
pub use self::mock_cpal::virtual_host::VirtualHostStream;

Modules§

mock_cpal
This module starts providing mocks for cpal streams.

Structs§

IOConfiguration
ResolvedStandaloneConfiguration
After negotiating options this struct is built with whatever devices and configuration used for them.
StandaloneHandles
Handles to the CPAL streams and MIDI host. Playback will stop when these are dropped.
StandaloneStartOptions

Enums§

AudioIOMode

Functions§

audio_processor_start
Start an AudioProcessor as a stand-alone cpal app>
audio_processor_start_with_midi
Start an AudioProcessor / MidiEventHandler as a stand-alone cpal app and forward MIDI messages received on all inputs to it.
standalone_start
Start a processor using CPAL. Returns StandaloneHandles which can be used to take the processor back and stop the stream.
standalone_start_for_test
standalone_start_with
Same as standalone_start but takes an options parameter.