qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v8 05/12] virtio-sound: handle VIRTIO_SND_R_PCM_INFO request


From: Manos Pitsidianakis
Subject: Re: [PATCH v8 05/12] virtio-sound: handle VIRTIO_SND_R_PCM_INFO request
Date: Mon, 04 Sep 2023 13:24:46 +0300
User-agent: meli 0.8.0

On Mon, 04 Sep 2023 13:13, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
+
+    pcm_info = g_new0(virtio_snd_pcm_info, req.count);
+    for (uint32_t i = req.start_id; i < req.start_id + req.count; i++) {

Starting from req.start_id seems to increase this code complexity.

I see your point, will change it!

Manos



reply via email to

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