From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id E0E9B4B57F for <ffmpegdev@gitmailbox.com>; Wed, 26 Mar 2025 08:58:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DF8B6687B97; Wed, 26 Mar 2025 10:57:57 +0200 (EET) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3F38A687A4A for <ffmpeg-devel@ffmpeg.org>; Wed, 26 Mar 2025 10:57:52 +0200 (EET) Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-54993c68ba0so7004504e87.2 for <ffmpeg-devel@ffmpeg.org>; Wed, 26 Mar 2025 01:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1742979471; x=1743584271; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=ZJaaWW8vK4AQmba7lqR1X7ciB+XsbKnP7/5cXDfBanU=; b=lDwr5+kGHZRYHOPN2U9GWxMjMmFOXd+7RLDgv/PSZ9IvT6kok835hilGc6gE5iRIHu /C5TEBUMTYUlWeuasHI+BpbXeBoWLScTEVlgQxpt80XUMBkrsF74BM5ulWrGyM2Ru4Ke Fh1AiXftwdjvLp7EZmaTT/PmPiF1tdzhHID2vBk6gT/GnBWB2Y8GtBlKihMwcXO61V1k r4EhKM0AMB4Q7SvLmzIU1x58tAzmenckBDtRpkfZTf7y29RHSN7RAmStQLZFzURyUYqS Hq8D0jVqhKMdzeFGtNo82j1/aKl0A2EUtJEZSc23CfUpbftdY857UIiYsVP/IqnF8ZaI +kNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742979471; x=1743584271; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZJaaWW8vK4AQmba7lqR1X7ciB+XsbKnP7/5cXDfBanU=; b=KrnOMJohHA5sVKSTDk1FMc2FBaZN2y4HPGaC8WOefHuu372WqIAya5p3lbU8tLz0Um w1CUjyq+FMeV6HYHsIaQb1CDVCPduJmuX4hpExgVWVy3+n1SK/Ett47gXCjBhtAwC1oR Mg1qz3lZocYrXynWWwkp9d48MiRRtac5VPWs58U7hQVSOLK1Dk+oqfHa48YEz7uY3Cn5 FPdsrL75lEOlt/c74Zph/ozYYElpXb0pAstQ9rzZkrfRxPUR9XeVmfmMFyKMZfDKmb+M 8OzU+V7K7GqCyYnWmOUels11RJfJGlWPbCjyHrGv7s2fhwVcnblohDc4jX54F8RfAj6Y XhEQ== X-Gm-Message-State: AOJu0Yy8LqC+ScMuRdbVXRsuwxkY+AmVKotKVEjq0due6LjfmOxYMgtl SkhWmLTSZDLY5hoUG95gtiGwxM7ov9n5YRCBVgSj11qvF1e3VMQQePN7iU1xGQ77qzkLjxBdbzq ghA== X-Gm-Gg: ASbGncsxHc9RUkYbYHqqx38NH+DUncrRB1Cx33bHmnnoudYcEUHfn+zscl/dtepfpBI pgAmYwjNhffxmjAQZ80VmDGrKuXT83g0Vtm1tU4y3vGfcFjwamSBU2Y6/Q3vIX+wQpYcdV83SaX jQ7OJbw5FxEwB7xwsyKJ8+Emrfp6WrKFbkaVXQSZehLdsoQ4d72c5tPodJEWWBYihgLXjez2WCI Q6g2Wo/go+UFGvyZEJ+7sNg1+e/wDgJXYa0739LEDP49SdIY+aor68Do5FGxdd7sKNjFgk0uFd4 k2BNfC0cLqQL9fTjD1kT5CQyOUgc1KaSh4Su2TkFv2aruHy2cU7aEjhJ32Otdj9ExpRFOXcSBZ7 m55kUSLEOGaQGQWnvjTNZXA== X-Google-Smtp-Source: AGHT+IFWmxXl1iBkZWHdorCYmm9bFCI4lzyF44DbO5e3pbbwD7CUykcva25ptF9gyEe/duSGWBBNeg== X-Received: by 2002:a05:6512:3d17:b0:545:d54:2ebe with SMTP id 2adb3069b0e04-54ad650ca5emr8106066e87.43.1742979471248; Wed, 26 Mar 2025 01:57:51 -0700 (PDT) Received: from localhost (dsl-tkubng21-50de30-198.dhcp.inet.fi. [80.222.48.198]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-54ad6468a04sm1727663e87.23.2025.03.26.01.57.50 for <ffmpeg-devel@ffmpeg.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 26 Mar 2025 01:57:50 -0700 (PDT) From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st> To: ffmpeg-devel@ffmpeg.org Date: Wed, 26 Mar 2025 10:57:47 +0200 Message-Id: <20250326085750.42353-1-martin@martin.st> X-Mailer: git-send-email 2.39.5 (Apple Git-154) MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/4] configure: Add a dependency for the audiotoolbox outdev X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250326085750.42353-1-martin@martin.st/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> The audiotoolbox outdev uses APIs that only are available on macOS, not on iOS or tvOS. Check for them in configure, and make sure the outdev is disabled otherwise. This allows building for iOS without explicitly having to disable the audiotoolbox outdev. --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 2fdbe8cbbe..02009bed4c 100755 --- a/configure +++ b/configure @@ -3747,7 +3747,7 @@ alsa_outdev_deps="alsa" avfoundation_indev_deps="avfoundation corevideo coremedia pthreads" avfoundation_indev_suggest="coregraphics applicationservices" avfoundation_indev_extralibs="-framework Foundation" -audiotoolbox_outdev_deps="audiotoolbox pthreads" +audiotoolbox_outdev_deps="audiotoolbox pthreads AudioObjectPropertyAddress" audiotoolbox_outdev_extralibs="-framework AudioToolbox -framework CoreAudio" bktr_indev_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h" caca_outdev_deps="libcaca" @@ -6736,6 +6736,10 @@ check_apple_framework CoreMedia check_apple_framework CoreVideo check_apple_framework CoreAudio +enabled audiotoolbox && { + check_type AudioToolbox/AudioToolbox.h AudioObjectPropertyAddress +} + enabled avfoundation && { disable coregraphics applicationservices check_lib coregraphics CoreGraphics/CoreGraphics.h CGGetActiveDisplayList "-framework CoreGraphics" || -- 2.39.5 (Apple Git-154) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".