Module async_funcs

Source

Enumsยง

VirtioSndPcmCmd ๐Ÿ”’
VirtioSndPcmCmdError ๐Ÿ”’

Traitsยง

CaptureBufferReader
Trait to wrap system specific helpers for reading from the start point capture buffer.
PlaybackBufferWriter
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 ๐Ÿ”’