From patchwork Tue Jul 2 05:01:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 809042 Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp44287wru; Mon, 1 Jul 2024 22:04:18 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXlOg1nFi9vuapFn20mG+RU4nj0FUWZcwPR2oloVJx6zVukJ/PIsHuCaOaC4594YZ7fEgg/0afMdEGqqLmCQNoG X-Google-Smtp-Source: AGHT+IHjR6t5HUHuajOrIquv6MB4D0VpJqvLNKZP8ltLdyEM4Ego91ehipMPVqobFm4oyAKk0tLA X-Received: by 2002:a05:620a:4e9:b0:79d:5b21:804b with SMTP id af79cd13be357-79d7ba89238mr746990685a.63.1719896658274; Mon, 01 Jul 2024 22:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719896658; cv=none; d=google.com; s=arc-20160816; b=J2ZAsT0byc4hY1vEwSsLqNNTdwJmnwIOmoEJAedjphQRKqyj5h2fsxNyr/0ZSvuI6e oKVEtdgOyy2XAR35DvW7cN+g3bGX7nGS+95RddpbiYxkxKyzGO8MWLqJtWdXBrtF5sox 6WxFoVpIf96POG4t15QyrGi88Iu6BBeTtiHm20RAcW82AoFNP8tGVFXyH1mtlVl8DOSX gQx0ZPUAhX7JLJGNm+ijrUQrX8JM5E3DE7ib95dhvGlk0RG66fnYGjKwEnY6G3ASqONL Etn9rYAGYi4KochuYaye38JH7MSJ885rmLrDnpS0SRHbobZgunMJ3NiL5orrRSTd6ZS5 U+TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=53/vSX2DxNBsJLADWGWkRKviz9VffjPRlWD9A4UquyA=; fh=iYRE3RIK6EzWkNtDPLyhm/eNSgPn7kzL0NqhIB5UBZY=; b=bKxvbZDF/7xyzybwyYf2aSPZMaWt4dy1pMWIou6X1LyPsiSvaz5RJLE3YZ1dpEeiqB vC7jy6D1c6JlVE0V7w9zGhl/QHUZpcV77lm4UiURmqSnzllg/kUfDp12ai7g82JkUCsb THmUlNZCb5h4VXSWArMt+Bb4dTrhwGUDR54+CoLw88M/1Q2AxTO9SbS+yScfXiLHBFEY AoHazL4yDd+GG1Wl39R/05KFgtSWhOT4Ml7Z/ftfo6WVekSzlR1FEq4Ym//VlzOylR+a upV7x3Gor8owDOzOc9ZmyAmnlcYXQh6FJ+hw1yY7ZWd1xcnsHZrnMhVhR0XW01TY+vh2 gZGw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h44J3IKF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-79d69261f1csi925849085a.39.2024.07.01.22.04.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jul 2024 22:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h44J3IKF; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOVfr-00067U-DC; Tue, 02 Jul 2024 01:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOVfp-00064H-8m for qemu-devel@nongnu.org; Tue, 02 Jul 2024 01:03:26 -0400 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOVfi-0007gX-4T for qemu-devel@nongnu.org; Tue, 02 Jul 2024 01:03:25 -0400 Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2ebec2f11b7so42175661fa.2 for ; Mon, 01 Jul 2024 22:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719896595; x=1720501395; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=53/vSX2DxNBsJLADWGWkRKviz9VffjPRlWD9A4UquyA=; b=h44J3IKFJNFo1CVZoQVIyuWP7fu2QjPjDvTjCIGBF/XgSCbqXPpWd+L/j8PZdefA6K PaNdIPy11gRsHe2JIpIglfV/t1rWFUL/r4VDSR0SaFuOYApK5l/w8/X47PusLgE8K9sF NsKe3FZepOjQYnpS+DmVsAnw7uuM7oTJ61P6YskW1p2/MVLSmciC/ta7056dI/jyv24e aQc37x9RQtXJvVYmvbi/GqoJXtj/LPpHBJuvwPpjYhTnlp95iuHubLGk2Q0BoaXrrKzW f0VAiqFpETddHBt6cnUCAqpcP6I/vZwjJZhDFLjNH3grmb/oCgV1AW+N4JhOYFAacdSq EwoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719896595; x=1720501395; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=53/vSX2DxNBsJLADWGWkRKviz9VffjPRlWD9A4UquyA=; b=GDLFuC0pg5Gmk/NShN69nge9dOKVhSoInemhFUvNGaDUch1f45CHJkqa1h43ntIbqK 5KShzqIYtzjeZv9ZTtssfy5QExhaEW+ZV6H/qFv1fZEN9qGd+dXkntMzoRGo00DbY/uU lCoz0DKwnOp0ycIS7QrBt4CJ5+Gj0GW/z3bhf5Xv6ShS32hb4cigv6wyaoS6x2MBs5KL pY4HqkwaRELFviSEAGEDTl6mG7GN6oo91MIpnuGOE9MxJwlqggrG0ZUTNOY70zo+PXCs zIx6cdYGGzxaLM1j6dkd2f7dBlUPg+L0qkInUMy8wOTybfWPtvNo+Cb4rZGCIRst1/kM fXzg== X-Gm-Message-State: AOJu0YwJepa28cPqZ9VQx03JAAX84j5WQyBKDnngKrxgBPLwrvBCOjBe s8YO+uNvyuRhREMSSeKx5csfFPziSwRdN6l3+zrB/TEATU0ccLfpvMxhK4IGk60ZvahljzYO8jx M X-Received: by 2002:a2e:a902:0:b0:2ee:5ec1:182f with SMTP id 38308e7fff4ca-2ee5ec11972mr63928441fa.6.1719896593167; Mon, 01 Jul 2024 22:03:13 -0700 (PDT) Received: from m1x-phil.lan ([176.187.209.58]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4257dee5f2asm91804815e9.22.2024.07.01.22.03.11 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 01 Jul 2024 22:03:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Akihiko Odaki , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PULL 19/22] audio: Drop ifdef for macOS versions older than 12.0 Date: Tue, 2 Jul 2024 07:01:09 +0200 Message-ID: <20240702050112.35907-20-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240702050112.35907-1-philmd@linaro.org> References: <20240702050112.35907-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=philmd@linaro.org; helo=mail-lj1-x22c.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Akihiko Odaki macOS versions older than 12.0 are no longer supported. docs/about/build-platforms.rst says: > Support for the previous major version will be dropped 2 years after > the new major version is released or when the vendor itself drops > support, whichever comes first. macOS 12.0 was released 2021: https://www.apple.com/newsroom/2021/10/macos-monterey-is-now-available/ Signed-off-by: Akihiko Odaki Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240629-macos-v1-2-6e70a6b700a0@daynix.com> Signed-off-by: Philippe Mathieu-Daudé --- audio/coreaudio.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/audio/coreaudio.m b/audio/coreaudio.m index ab632b9bbb..cadd729d50 100644 --- a/audio/coreaudio.m +++ b/audio/coreaudio.m @@ -44,11 +44,6 @@ bool enabled; } coreaudioVoiceOut; -#if !defined(MAC_OS_VERSION_12_0) \ - || (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_VERSION_12_0) -#define kAudioObjectPropertyElementMain kAudioObjectPropertyElementMaster -#endif - static const AudioObjectPropertyAddress voice_addr = { kAudioHardwarePropertyDefaultOutputDevice, kAudioObjectPropertyScopeGlobal,