瀏覽代碼

mention ObjC requirement for sokol_audio.h on iOS in changelog

Andre Weissflog 4 年之前
父節點
當前提交
ee9deb99ba
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      CHANGELOG.md

+ 2 - 1
CHANGELOG.md

@@ -6,7 +6,8 @@
 uses the **AVAudioSession** class to activate and deactivate audio output as needed.
 This fixes sokol_audio.h for iPhones (so far, sokol_audio.h accidentally only worked
 for iPads). Please see [this issue](https://github.com/floooh/sokol/issues/431) for details.
-Many thanks to @oviano for providing the PR!
+A somewhat unfortunate side effect of this fix is that sokol_audio.h must now be compiled
+as Objective-C when targetting iOS. Many thanks to @oviano for providing the PR!
 
 - **14-Feb-2021**: The Dear ImGui rendering backend in [sokol_imgui.h](https://github.com/floooh/sokol/blob/master/util/sokol_imgui.h) has been rewritten to only do a single
 buffer-update per frame each for vertex- and index-data. This addresses performance-problems