Message ID | 20171015162944.4538-1-martin@schrodt.org |
---|---|
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yFRlv66Rmz9t3B for <incoming@patchwork.ozlabs.org>; Mon, 16 Oct 2017 03:31:07 +1100 (AEDT) Received: from localhost ([::1]:57810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1e3lof-0005hP-Va for incoming@patchwork.ozlabs.org; Sun, 15 Oct 2017 12:31:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <spheenik@zoidberg.machine.schrodt.org>) id 1e3lnU-00059Y-Kl for qemu-devel@nongnu.org; Sun, 15 Oct 2017 12:29:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <spheenik@zoidberg.machine.schrodt.org>) id 1e3lnP-0000Le-RY for qemu-devel@nongnu.org; Sun, 15 Oct 2017 12:29:52 -0400 Received: from hermes.schrodt.org ([2a01:488:66:1000:b24d:49f5:0:1]:40596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <spheenik@zoidberg.machine.schrodt.org>) id 1e3lnP-0000Kx-L7 for qemu-devel@nongnu.org; Sun, 15 Oct 2017 12:29:47 -0400 Received: from schapa.schrodt.org ([46.237.225.84]:39038 helo=zoidberg.machine.schrodt.org) by lvps178-77-73-245.dedicated.hosteurope.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from <spheenik@zoidberg.machine.schrodt.org>) id 1e3lnM-0001NH-Rc; Sun, 15 Oct 2017 18:29:44 +0200 Received: from spheenik by zoidberg.machine.schrodt.org with local (Exim 4.89) (envelope-from <spheenik@zoidberg.machine.schrodt.org>) id 1e3lnM-0001C3-9x; Sun, 15 Oct 2017 18:29:44 +0200 From: Martin Schrodt <martin@schrodt.org> To: qemu-devel@nongnu.org Date: Sun, 15 Oct 2017 18:29:42 +0200 Message-Id: <20171015162944.4538-1-martin@schrodt.org> X-Mailer: git-send-email 2.14.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2a01:488:66:1000:b24d:49f5:0:1 Subject: [Qemu-devel] [PATCH v2 0/2] Improve audio output quality X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: kraxel@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Improve audio output quality
|
expand
|
After being annoyed for too long with the crackling QEMU produces, I decided to dive in and try to fix this. This has already been tested by several people, please see the corresponding Reddit-thread: https://www.reddit.com/r/VFIO/comments/74vokw/improved_pulse_audio_driver_for_qemu/ I presented this to the list a few days ago, but it was in too rough a state, so I cleaned it up and wrote better commit messages. This is still missing proper handling for VMState-migration, which I will need a bit of assistance with. Signed-off-by: Martin Schrodt <martin@schrodt.org> Martin Schrodt (2): audio/paaudio: remove separate PA feeder threads audio/hda: create millisecond timers that handle IO audio/audio.c | 5 + audio/audio_int.h | 2 + audio/paaudio.c | 862 ++++++++++++++++++++++----------------------------- hw/audio/hda-codec.c | 193 +++++++++--- hw/audio/intel-hda.c | 7 - 5 files changed, 531 insertions(+), 538 deletions(-)