From patchwork Fri Mar 15 08:46:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Schrodt X-Patchwork-Id: 10854297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8DAAA13B5 for ; Fri, 15 Mar 2019 08:48:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7612E2A8BC for ; Fri, 15 Mar 2019 08:48:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6A6C52A8BE; Fri, 15 Mar 2019 08:48:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C6EF2A8BC for ; Fri, 15 Mar 2019 08:48:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:51940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4iW1-0007mc-0j for patchwork-qemu-devel@patchwork.kernel.org; Fri, 15 Mar 2019 04:48:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4iUb-0006vj-TT for qemu-devel@nongnu.org; Fri, 15 Mar 2019 04:47:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4iUY-0001BM-CO for qemu-devel@nongnu.org; Fri, 15 Mar 2019 04:47:04 -0400 Received: from [2a01:4f8:141:20d3::2] (port=58398 helo=zapp.schrodt.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4iUW-00017C-5F for qemu-devel@nongnu.org; Fri, 15 Mar 2019 04:47:02 -0400 Received: from schapa.schrodt.org ([46.237.225.84]:39900 helo=zoidberg.machine.schrodt.org) by zapp.schrodt.org with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1h4iUQ-0000zP-8V; Fri, 15 Mar 2019 09:46:54 +0100 Received: from spheenik by zoidberg.machine.schrodt.org with local (Exim 4.92) (envelope-from ) id 1h4iUP-000VGw-Up; Fri, 15 Mar 2019 09:46:53 +0100 From: Martin Schrodt To: qemu-devel@nongnu.org Date: Fri, 15 Mar 2019 09:46:50 +0100 Message-Id: <20190315084653.120020-1-martin@schrodt.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f8:141:20d3::2 Subject: [Qemu-devel] [PATCH V4 0/3] Fixes for PulseAudio driver X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kraxel@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Version 2 of the series added proper commit messages and fixed a typo. Version 3 fixes coding style problems Version 4 reintroduces the check, whether PA support adjusting latency, and sets the default buffer_length to the constant value that was present beforehand (works well, and testing revealed that having a longer buffer does not hurt, so it's propably better to not make it artificially short when the user chooses shorter timer periods) Martin Schrodt (3): audio/paaudio: fix ignored buffer_length setting audio/paaudio: prolong and make latency configurable audio/paaudio: fix microphone input being unusable audio/paaudio.c | 44 ++++++++++++++++++++++++++++++++++---------- qapi/audio.json | 6 +++++- 2 files changed, 39 insertions(+), 11 deletions(-)