qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 21/27] virtio-snd: Add VIRTIO_SND_R_PCM_STOP handler


From: Gerd Hoffmann
Subject: Re: [RFC PATCH 21/27] virtio-snd: Add VIRTIO_SND_R_PCM_STOP handler
Date: Fri, 30 Apr 2021 12:22:44 +0200

> +static uint32_t virtio_snd_handle_pcm_stop(VirtIOSound *s,
> +                                           VirtQueueElement *elem)

Looks very simliar to virtio_snd_handle_pcm_start.

Maybe it makes sense to have an
        virtio_snd_handle_pcm_start_stop(..., bool start)
function instead?

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]