qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

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