From patchwork Sun Sep 20 17:14:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Volker_R=C3=BCmelin?= X-Patchwork-Id: 1367936 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BvZ2Y1x5Wz9sSf for ; Mon, 21 Sep 2020 03:15:15 +1000 (AEST) Received: from localhost ([::1]:41604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK2vf-0002uE-63 for incoming@patchwork.ozlabs.org; Sun, 20 Sep 2020 13:15:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK2v3-0002u4-GU for qemu-devel@nongnu.org; Sun, 20 Sep 2020 13:14:33 -0400 Received: from mailout03.t-online.de ([194.25.134.81]:37248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK2uw-0005pi-RU for qemu-devel@nongnu.org; Sun, 20 Sep 2020 13:14:29 -0400 Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout03.t-online.de (Postfix) with SMTP id C54B8420D4D6; Sun, 20 Sep 2020 19:14:21 +0200 (CEST) Received: from [192.168.211.200] (SrA-u6ZCghxfMxjS3TqHbknMfY4x+Nbh-n0O0XPDVcwl7QprKYwOXc04uGQ1rTgZfQ@[93.236.144.216]) by fwd24.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kK2ui-2EGIdc0; Sun, 20 Sep 2020 19:14:12 +0200 From: =?utf-8?q?Volker_R=C3=BCmelin?= Subject: [PATCH 0/9] Audio fixes and improvements To: Gerd Hoffmann Message-ID: <84f1c61a-8399-c75e-96c2-febfc2dd5fab@t-online.de> Date: Sun, 20 Sep 2020 19:14:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-ID: SrA-u6ZCghxfMxjS3TqHbknMfY4x+Nbh-n0O0XPDVcwl7QprKYwOXc04uGQ1rTgZfQ X-TOI-EXPURGATEID: 150726::1600622052-00005513-81399ACB/0/0 CLEAN NORMAL X-TOI-MSGID: 1ccc9b02-48f4-4560-9a1f-6dfef136a9dc Received-SPF: none client-ip=194.25.134.81; envelope-from=vr_qemu@t-online.de; helo=mailout03.t-online.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/20 13:14:22 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, SPOOFED_FREEMAIL=1.652 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org, =?utf-8?b?Wm9sdMOhbiBLxZF2w6Fnw7M=?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" A few fixes and improvements from my audio patch queue. It's currently still not possible to reach the function audio_generic_read(). I tested the patch   audio: align audio_generic_read with audio_pcm_hw_run_in with a modified audio/paaudio.c version. If someone wants to reproduce the test, replace .read = qpa_read with .read = audio_generic_read in the audio/paaudio.c pcm_ops table and start qemu with -audiodev pa,id=audio0,in.mixing-engine=off. With best regards, Volker Volker Rümelin (9):   audio: handle buf == NULL in put_buffer_out()   audio/audio: fix video playback slowdown with spiceaudio   audio/spiceaudio: always rate limit playback stream   audio: align audio_generic_read with audio_pcm_hw_run_in   audio: remove unnecessary calls to put_buffer_in   audio: align audio_generic_write with audio_pcm_hw_run_out   audio: run downstream playback queue unconditionally   audio: restore mixing-engine playback buffer size   audio: revert tests for pcm_ops table  audio/alsaaudio.c   |   1 +  audio/audio.c       | 136 +++++++++++++++++++++++++++++++++-----------  audio/audio_int.h   |   7 ++-  audio/coreaudio.c   |   3 +  audio/dsoundaudio.c |   6 ++  audio/jackaudio.c   |   1 +  audio/noaudio.c     |   1 +  audio/ossaudio.c    |  12 ++++  audio/paaudio.c     |   6 ++  audio/sdlaudio.c    |   3 +  audio/spiceaudio.c  |  27 +++++----  audio/wavaudio.c    |   1 +  12 files changed, 161 insertions(+), 43 deletions(-)