[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller ch
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks |
Date: |
Mon, 12 Nov 2018 13:09:51 +0100 |
On Mon, Nov 12, 2018 at 12:58 PM Gerd Hoffmann <address@hidden> wrote:
>
> > > Also, when making chunk size configurable we should not leave that
> > > to the confused user but pick a working value automatically, probably
> > > depending on the emulated device. I can't see what the benefit would
> > > be though, especially given that intel-hda is probably used in most
> > > configurations these days.
> >
> > For nowadays uses I agree with your patch.
> > For retrocomputing and other weird stuffs, if we don't have this
> > user-configurable, I think we need a comment in the code about this change,
> > else it might be hard for other people to figure this change in the git
> > history.
>
> Again, why? The pulse audio threads might wake up more often than
> needed. This should have no negative effect on the functionality of
> the emulated sound cards though. Worst case is we need a few more cpu
> cycles due to the higher wakeup rate (didn't measure that though).
OK, fine then!
Thanks,
Phil.