Add simulator audio support

This commit is contained in:
Adolfo Reyna
2026-09-23 19:13:39 -04:00
parent 982bba70b2
commit dcfd4e9bcc
15 changed files with 905 additions and 11 deletions
+9
View File
@@ -21,4 +21,13 @@ if (NOT DEFINED ENV{ESP_IDF_VERSION})
target_link_libraries(simulator PRIVATE ${SDL2_LIBRARIES})
if (APPLE)
target_sources(simulator PRIVATE Source/drivers/sdl_audio_permission.mm)
target_link_libraries(simulator PRIVATE "-framework AVFoundation" "-framework Foundation")
# The developer executable can also request recording outside an .app bundle.
target_link_options(simulator INTERFACE
"LINKER:-sectcreate,__TEXT,__info_plist,${CMAKE_CURRENT_SOURCE_DIR}/macos-info.plist")
set_property(TARGET Tactility APPEND PROPERTY LINK_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/macos-info.plist")
endif ()
endif()