History

configure: Add a dependency for the audiotoolbox outdev

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.

Martin Storsjö committed 1 year ago

Commit 11299571 parent 4da84d51 file · +5 −1Browse files

Unified · Split

configure+5−1
@@ -3741,7 +3741,7 @@ alsa_outdev_deps="alsa" · 3740 unmodified lines
37413741 avfoundation_indev_deps="avfoundation corevideo coremedia pthreads"
37423742 avfoundation_indev_suggest="coregraphics applicationservices"
37433743 avfoundation_indev_extralibs="-framework Foundation"
3744−audiotoolbox_outdev_deps="audiotoolbox pthreads"
3744+audiotoolbox_outdev_deps="audiotoolbox pthreads AudioObjectPropertyAddress"
37453745 audiotoolbox_outdev_extralibs="-framework AudioToolbox -framework CoreAudio"
37463746 caca_outdev_deps="libcaca"
37473747 decklink_deps_any="libdl LoadLibrary"
@@ -6727,6 +6727,10 @@ check_apple_framework CoreMedia · 2979 unmodified lines
67276727 check_apple_framework CoreVideo
67286728 check_apple_framework CoreAudio
67296729
6730+enabled audiotoolbox && {
6731+ check_type AudioToolbox/AudioToolbox.h AudioObjectPropertyAddress
6732+}
6733+
67306734 enabled avfoundation && {
67316735 disable coregraphics applicationservices
67326736 check_lib coregraphics CoreGraphics/CoreGraphics.h CGGetActiveDisplayList "-framework CoreGraphics" ||

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t