Crate ensnare_services

Source
Expand description

Wrappers around third-party crates that make them easier to use with crossbeam channels.

Modules§

prelude
The most commonly used imports.

Structs§

CpalAudioService
CpalAudioService channel-based communication with the cpal audio interface.
MidiService
Provides a crossbeam-channels interface to the midir crate.
ProjectService
A wrapper around a Project that provides a channel-based interface to it.

Enums§

CpalAudioServiceEvent
A CpalAudioServiceEvent informs clients what’s going on.
CpalAudioServiceInput
A CpalAudioServiceInput tells CpalAudioService what to do.
MidiServiceEvent
The service provides updates to the client through MidiServiceEvent messages.
MidiServiceInput
The client sends requests to the MIDI interface through MidiServiceInput messages.
ProjectServiceEvent
ProjectServiceInput

Type Aliases§

AudioSampleType
The fundamental type of an audio sample.
AudioStereoSampleType
(left channel, right channel)