queue_status

Function queue_status 

Source
pub fn queue_status<P: IsA<QueueStatus>>(
    queue_id: u8,
    queue_status: &mut P,
) -> Result<(), Error>
Expand description

Get current status of queue.

The call of function executes open(2), close(2), and ioctl(2) system calls with SNDRV_SEQ_IOCTL_GET_QUEUE_STATUS command for ALSA sequencer character device.

§queue_id

The numeric ID of queue. One of SpecificQueueId is available as well.

§queue_status

The current status of queue.

§Returns

true when the overall operation finishes successfully, else false.