[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 13/25] audio: remove hw->samples, buffer_size_in
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH 13/25] audio: remove hw->samples, buffer_size_in/out pcm_ops |
Date: |
Tue, 27 Aug 2019 07:48:31 +0200 |
User-agent: |
NeoMutt/20180716 |
On Sun, Aug 25, 2019 at 08:46:15PM +0200, Kővágó, Zoltán wrote:
> This patch removes the samples member from HWVoiceIn and HWVoiceOut.
> Backends can specify buffer size via the newly added buffer_size_in and
> buffer_size_out functions in audio_pcm_ops. They are optional, if not
> defined qemu will fall back to some built-in constant.
>
> Signed-off-by: Kővágó, Zoltán <address@hidden>
> ---
>
> Notes:
> Not sure if this is necessary. At first it seemed like a good idea to
> have a function so that backends can compute the size on demand when
> needed and things like that, but currently it's just a burden.
If none of the backends actually uses this, then drop it.
cheers,
Gerd
- Re: [Qemu-devel] [PATCH 01/25] audio: api for mixeng code free backends, (continued)
- [Qemu-devel] [PATCH 02/25] alsaaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 05/25] noaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 04/25] dsoundaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 06/25] ossaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 08/25] sdlaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 10/25] wavaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 07/25] paaudio: port to the new audio backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 11/25] audio: remove remains of the old backend api, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 13/25] audio: remove hw->samples, buffer_size_in/out pcm_ops, Kővágó, Zoltán, 2019/08/25
- Re: [Qemu-devel] [PATCH 13/25] audio: remove hw->samples, buffer_size_in/out pcm_ops,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 16/25] audio: add mixeng option (documentation), Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 17/25] audio: make mixeng optional, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 12/25] audio: unify input and output mixeng buffer management, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 14/25] audio: common rate control code for timer based outputs, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 15/25] audio: split ctl_* functions into enable_* and volume_*, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 19/25] audio: support more than two channels in volume setting, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 21/25] audio: basic support for multichannel audio, Kővágó, Zoltán, 2019/08/25
- [Qemu-devel] [PATCH 23/25] usb-audio: do not count on avail bytes actually available, Kővágó, Zoltán, 2019/08/25