Enumsยง
- Virtio
SndPcm ๐Cmd - Virtio
SndPcm ๐CmdError
Traitsยง
- Capture
Buffer Reader - Trait to wrap system specific helpers for reading from the start point capture buffer.
- Playback
Buffer Writer - Trait to wrap system specific helpers for writing to endpoint playback buffers.
Functionsยง
- await_
reset_ ๐signal - defer_
pcm_ ๐response_ to_ worker - drain_
desc_ ๐receiver - handle_
ctrl_ queue - Handle all the control messages from the ctrl queue.
- handle_
ctrl_ tube - Handle messages from the control tube. This one is not related to virtio spec.
- handle_
event_ queue - Send events to the audio driver.
- handle_
pcm_ queue - Handle messages from the tx or the rx queue. One invocation is needed for each queue.
- pcm_
worker_ ๐loop - process_
pcm_ ๐ctrl - read_
data ๐ - send_
pcm_ ๐response - send_
pcm_ response_ worker - start_
pcm_ worker - Start a pcm worker that receives descriptors containing PCM frames (audio data) from the tx/rx queue, and forward them to CRAS. One pcm worker per stream.
- write_
data ๐