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.