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 - Audio Frame Sink (input sink)
Acts as a microphone or audio input, accepting audio packets using a
stream_config::SoftStreamConfig
- audio_
frame_ stream - Audio Frame Stream (output stream)
Produces audio packets as if it was an audio output using a
stream_config::SoftStreamConfig
- codec
- Software Codec Audio Input/Output
- stream_
config - Software Stream Config Audio Input/Output
Enums§
- Error
- The Error type of the fuchsia-audio-device
Type Aliases§
- Result
- Result type alias for brevity.