From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZjjW-0006kk-Ar for qemu-devel@nongnu.org; Wed, 09 Sep 2015 14:04:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZjjQ-0007yn-UV for qemu-devel@nongnu.org; Wed, 09 Sep 2015 14:04:34 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:33123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZjjQ-0007yV-R3 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 14:04:28 -0400 Received: by oixx17 with SMTP id x17so10465895oix.0 for ; Wed, 09 Sep 2015 11:04:27 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <499BD4FC-8B37-4181-BA5F-0DAA2F012E25@gmail.com> <20150909091755.GC9777@stefanha-thinkpad.redhat.com> Date: Wed, 9 Sep 2015 19:04:27 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] wav output sounds good - what does this mean? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Programmingkid Cc: Gerd Hoffmann , qemu-devel qemu-devel On Wed, Sep 9, 2015 at 3:37 PM, Programmingkid wrote: > On second thought, I will send you audio samples of both live playback and wav output in a second email. Thanks. In my reply I mentioned that there is definitely a timing problem because the song was at a slower tempo in the live audio capture. That is either caused by buffer timing issues or by a bad sample rate conversion algorithm (I haven't checked how QEMU does it). There's a third possibility if you're using the ALSA sound system on the host. Make sure no other applications are accessing the ALSA device. This includes PulseAudio. I've heard weird issues like this when multiple applications use a sound device and change settings (e.g. sample rate) at the same time. You can use pavucontrol to disable PulseAudio on the sound device, if necessary. Stefan