Expand description
Fuchsia Audio Device Library
Provides a method to create audio devices that are backed by software in Fuchsia.
SoftStreamConfig creates a StreamConfig client that is suitable for adding to [[fuchsia.media.AudioDeviceEnumerator]] via AddDeviceByChannel or [[fuchsia.audio.device.Provider]] via AddDevice. It produces either an AudioFrameStream (for output audio) or an AudioFrameSink (for input audio)
SoftCodec creates a Codec client suitable for adding to [[fuchsia.audio.device.Provider]] via AddCodec. It provides a CodecDevice to capture and respond to control events from Media, and shutdown the Codec (retrieving a new Codec client which can be used to re-add the Codec)
Re-exports§
pub use audio_frame_stream::AudioFrameStream;
pub use audio_frame_sink::AudioFrameSink;
Modules§
- Audio Frame Sink (input sink) Acts as a microphone or audio input, accepting audio packets using a
stream_config::SoftStreamConfig
- Audio Frame Stream (output stream) Produces audio packets as if it was an audio output using a
stream_config::SoftStreamConfig
- Software Codec Audio Input/Output
- Software Stream Config Audio Input/Output
Enums§
- The Error type of the fuchsia-audio-device
Type Aliases§
- Result type alias for brevity.