Function devices::virtio::snd::common_backend::async_funcs::handle_pcm_queue
source · pub async fn handle_pcm_queue(
streams: &Rc<RwLock<Vec<RwLock<StreamInfo>>>>,
response_sender: UnboundedSender<PcmResponse>,
queue: Rc<RwLock<Queue>>,
queue_event: &EventAsync,
card_index: usize,
reset_signal: Option<&(RwLock<bool>, Condvar)>
) -> Result<(), Error>
Expand description
Handle messages from the tx or the rx queue. One invocation is needed for each queue.