qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] noaudio: use audio_pcm_sw_read() in no_read()


From: malc
Subject: Re: [Qemu-devel] [PATCH] noaudio: use audio_pcm_sw_read() in no_read()
Date: Tue, 4 Jan 2011 01:46:34 +0300 (MSK)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Mon, 3 Jan 2011, Michael Walle wrote:

> Instead of returning a self-calculated empty buffer use the proper method
> supplied by the audio subsystem. This will fix the return value of the
> no_read() function which otherwise returns too many samples because
> total_hw_samples_acquired isn't correctly accounted.

What and how is incorrectly accounted? FWIW the audio_pcm_sw_read will
perform useless resampling/mixing that's why custom code is used.

[..snip..]

-- 
mailto:address@hidden



reply via email to

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