From patchwork Sun Apr 5 07:47: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: 1266494 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 48w5PP0sxBz9sPF for ; Sun, 5 Apr 2020 17:47:51 +1000 (AEST) Received: from localhost ([::1]:45482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL00S-0003dm-K9 for incoming@patchwork.ozlabs.org; Sun, 05 Apr 2020 03:47:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55624) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jL001-0003cm-6i for qemu-devel@nongnu.org; Sun, 05 Apr 2020 03:47:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKzzz-0007kO-FZ for qemu-devel@nongnu.org; Sun, 05 Apr 2020 03:47:20 -0400 Received: from mailout12.t-online.de ([194.25.134.22]:49792) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jKzzz-0007in-9m for qemu-devel@nongnu.org; Sun, 05 Apr 2020 03:47:19 -0400 Received: from fwd37.aul.t-online.de (fwd37.aul.t-online.de [172.20.27.137]) by mailout12.t-online.de (Postfix) with SMTP id 132F841C9A88; Sun, 5 Apr 2020 09:47:17 +0200 (CEST) Received: from [192.168.211.200] (Z4HjO-ZL8h1spQo18Wt4QYbEqxSDvrtEus2vCPmAOsJSbe81subsH9e9KSEUf80Qs7@[93.236.147.242]) by fwd37.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1jKzzs-23lgvI0; Sun, 5 Apr 2020 09:47:12 +0200 From: =?utf-8?q?Volker_R=C3=BCmelin?= Subject: [PATCH v2 0/3] DirectSound fixes for 5.0 To: Gerd Hoffmann Message-ID: Date: Sun, 5 Apr 2020 09:47:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Language: en-US X-ID: Z4HjO-ZL8h1spQo18Wt4QYbEqxSDvrtEus2vCPmAOsJSbe81subsH9e9KSEUf80Qs7 X-TOI-MSGID: 8e50e4f9-e187-48be-abe8-639db43f3c71 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 194.25.134.22 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 , =?utf-8?b?Wm9sdMOhbiBLxZF2w6Fnw7M=?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Three audio fixes for DirectSound on Windows. They were tested on a Windows 10 Home system with HAXM accelerator. v2: - "dsoundaudio: fix never-ending playback loop" The commit message and the changed code was wrong. Volker RĂ¼melin (3): dsoundaudio: fix never-ending playback loop dsoundaudio: fix "Could not lock capture buffer" warning dsoundaudio: dsound_get_buffer_in should honor *size audio/audio.c | 12 +++++------- audio/dsoundaudio.c | 9 +++++++-- 2 files changed, 12 insertions(+), 9 deletions(-)