Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Philippe Mathieu-Daudé
On Mon, Nov 12, 2018 at 12:58 PM Gerd Hoffmann 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,

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Gerd Hoffmann
> > 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 > > conf

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Philippe Mathieu-Daudé
On 12/11/18 12:28, Gerd Hoffmann wrote: On Mon, Nov 12, 2018 at 10:51:36AM +0100, Philippe Mathieu-Daudé wrote: On 12/11/18 10:12, Gerd Hoffmann wrote: On Sat, Nov 10, 2018 at 08:36:39PM +0100, Philippe Mathieu-Daudé wrote: Hi Gerd, On 11/9/18 3:20 PM, Gerd Hoffmann wrote: The rate of pulsea

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Gerd Hoffmann
On Mon, Nov 12, 2018 at 10:51:36AM +0100, Philippe Mathieu-Daudé wrote: > On 12/11/18 10:12, Gerd Hoffmann wrote: > > On Sat, Nov 10, 2018 at 08:36:39PM +0100, Philippe Mathieu-Daudé wrote: > > > Hi Gerd, > > > > > > On 11/9/18 3:20 PM, Gerd Hoffmann wrote: > > > > The rate of pulseaudio absorbing

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Philippe Mathieu-Daudé
On 12/11/18 10:12, Gerd Hoffmann wrote: On Sat, Nov 10, 2018 at 08:36:39PM +0100, Philippe Mathieu-Daudé wrote: Hi Gerd, On 11/9/18 3:20 PM, Gerd Hoffmann wrote: The rate of pulseaudio absorbing the audio stream is used to control the the rate of the guests audio stream. When the emulated har

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-12 Thread Gerd Hoffmann
On Sat, Nov 10, 2018 at 08:36:39PM +0100, Philippe Mathieu-Daudé wrote: > Hi Gerd, > > On 11/9/18 3:20 PM, Gerd Hoffmann wrote: > > The rate of pulseaudio absorbing the audio stream is used to control the > > the rate of the guests audio stream. When the emulated hardware uses > > small chunks (l

Re: [Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-10 Thread Philippe Mathieu-Daudé
Hi Gerd, On 11/9/18 3:20 PM, Gerd Hoffmann wrote: > The rate of pulseaudio absorbing the audio stream is used to control the > the rate of the guests audio stream. When the emulated hardware uses > small chunks (like intel-hda does) we need small chunks on the audio > backend side too, otherwise

[Qemu-devel] [PATCH v2] pulseaudio: process audio data in smaller chunks

2018-11-09 Thread Gerd Hoffmann
The rate of pulseaudio absorbing the audio stream is used to control the the rate of the guests audio stream. When the emulated hardware uses small chunks (like intel-hda does) we need small chunks on the audio backend side too, otherwise that feedback loop doesn't work very well. Cc: Max Ehrlich