From nobody Tue Nov 18 07:25:35 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608040219; cv=none; d=zohomail.com; s=zohoarc; b=Ns0RAEimTrMjJTsKR1zrQGsCzRhK/PATCJAGfI69xioI0ObhXziMfHv34vZC9LgrbqqPsg6FlXDly4lVJxB7CT2eVEDyS+N/8Yzq7Wbtis2O9d9AqXPEgke3o2zytA+aF6mcKYZDd1TO7LPN2ZKTBZQuFIK0wbwuG2R6Wwjv59A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608040219; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fI+QQ7FwNszPqBHjqQsEhWeJnnkFBxwInWIoU5Mf4/E=; b=ii70fa9iuwzxe7d+gLFMI1zK4KQcFiwxQ189z1ScVGQvw4UjkhC+iEyWAd6n/oCvSZFpXiLUGZOsHEVToCAAkGsMPwHY4Xbxp5IrnGq4CPBJ0g3OUblfFQC0CHNEKPqS1GT+r9z5a42sWU5tQlJxGkUTOP8/anJP4fcXgWdpTRk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608040218927659.6824539620964; Tue, 15 Dec 2020 05:50:18 -0800 (PST) Received: from localhost ([::1]:56542 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpAiS-00010s-Tg for importer@patchew.org; Tue, 15 Dec 2020 08:50:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpAgt-0008F3-C3 for qemu-devel@nongnu.org; Tue, 15 Dec 2020 08:48:35 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:54188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kpAgr-0007FB-3B for qemu-devel@nongnu.org; Tue, 15 Dec 2020 08:48:34 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-505-n3GZ-jdRN0KAJN7ksUV5QQ-1; Tue, 15 Dec 2020 08:48:28 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D1BA5801B14; Tue, 15 Dec 2020 13:48:27 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-94.ams2.redhat.com [10.36.112.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7517419C44; Tue, 15 Dec 2020 13:48:27 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 8A1AAA1EE; Tue, 15 Dec 2020 14:48:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608040110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fI+QQ7FwNszPqBHjqQsEhWeJnnkFBxwInWIoU5Mf4/E=; b=PAUttBSFE/AxIJ8pSq6FygBpYdM39YZHGUjwxoEo+19JsPvykq9uPNcJCw3631te8nDkwM kdSyUE5DZ+HdQLNxnNLbf95jSol7u3keQMmmCsehIQRC5bgwHj0+vIznq63A4vfgml8zqL 9B9pl7UYhiyRKIgx5BdoChbYR/G2Dcg= X-MC-Unique: n3GZ-jdRN0KAJN7ksUV5QQ-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PULL 1/7] coreaudio: rename misnamed variable fake_as Date: Tue, 15 Dec 2020 14:48:20 +0100 Message-Id: <20201215134826.5504-2-kraxel@redhat.com> In-Reply-To: <20201215134826.5504-1-kraxel@redhat.com> References: <20201215134826.5504-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: =?UTF-8?q?Volker=20R=C3=BCmelin?= , Gerd Hoffmann , Howard Spoelstra Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Volker R=C3=BCmelin While the variable once was used to fake audio settings, since commit ed2a4a7941 "audio: proper support for float samples in mixeng" this is no longer true. Rename the variable to obt_as. This is the same naming scheme as in audio/sdlaudio.c Tested-by: Howard Spoelstra Signed-off-by: Volker R=C3=BCmelin Message-id: 20201213130528.5863-1-vr_qemu@t-online.de Signed-off-by: Gerd Hoffmann --- audio/coreaudio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/coreaudio.c b/audio/coreaudio.c index 4b4365660fcf..0ee85052c452 100644 --- a/audio/coreaudio.c +++ b/audio/coreaudio.c @@ -482,7 +482,7 @@ static int coreaudio_init_out(HWVoiceOut *hw, struct au= dsettings *as, Audiodev *dev =3D drv_opaque; AudiodevCoreaudioPerDirectionOptions *cpdo =3D dev->u.coreaudio.out; int frames; - struct audsettings fake_as; + struct audsettings obt_as; =20 /* create mutex */ err =3D pthread_mutex_init(&core->mutex, NULL); @@ -491,8 +491,8 @@ static int coreaudio_init_out(HWVoiceOut *hw, struct au= dsettings *as, return -1; } =20 - fake_as =3D *as; - as =3D &fake_as; + obt_as =3D *as; + as =3D &obt_as; as->fmt =3D AUDIO_FORMAT_F32; audio_pcm_init_info (&hw->info, as); =20 --=20 2.27.0