On Mon, 04 Sep 2023 13:13, Philippe Mathieu-Daudé 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!
M
On 28/8/23 21:55, Emmanouil Pitsidianakis wrote:
Respond to the VIRTIO_SND_R_PCM_INFO control request with the parameters
of each requested PCM stream.
Based-on:
https://github.com/OpenSynergy/qemu/commit/5a2f350eec5d157b90d9c7b40a8e603f4da92471
Signed-off-by: Igor Skalkin
Signed-off-by: Anton
Emmanouil Pitsidianakis writes:
> Respond to the VIRTIO_SND_R_PCM_INFO control request with the parameters
> of each requested PCM stream.
>
> Based-on:
> https://github.com/OpenSynergy/qemu/commit/5a2f350eec5d157b90d9c7b40a8e603f4da92471
> Signed-off-by: Igor Skalkin
> Signed-off-by: Anton Y
Respond to the VIRTIO_SND_R_PCM_INFO control request with the parameters
of each requested PCM stream.
Based-on:
https://github.com/OpenSynergy/qemu/commit/5a2f350eec5d157b90d9c7b40a8e603f4da92471
Signed-off-by: Igor Skalkin
Signed-off-by: Anton Yakovlev
Signed-off-by: Emmanouil Pitsidianakis