Răsfoiți Sursa

mention sokol_audio.h iPhone fix in changelog and readme

Andre Weissflog 4 ani în urmă
părinte
comite
0497bb310e
2 a modificat fișierele cu 8 adăugiri și 1 ștergeri
  1. 6 0
      CHANGELOG.md
  2. 2 1
      README.md

+ 6 - 0
CHANGELOG.md

@@ -2,6 +2,12 @@
 
 
 > NOTE: this list will usually only be updated with changes that affect the public APIs
 > NOTE: this list will usually only be updated with changes that affect the public APIs
 
 
+- **17-Feb-2021**: When compiled for iOS, the sokol_audio.h CoreAudio backend now
+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!
+
 - **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
 - **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
 buffer-update per frame each for vertex- and index-data. This addresses performance-problems
 with sg_append_buffer() in the GL backend on some platforms (see [this issue](https://github.com/floooh/sokol/issues/399) for details.
 with sg_append_buffer() in the GL backend on some platforms (see [this issue](https://github.com/floooh/sokol/issues/399) for details.

+ 2 - 1
README.md

@@ -6,7 +6,8 @@ Simple
 [STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)
 [STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)
 cross-platform libraries for C and C++, written in C.
 cross-platform libraries for C and C++, written in C.
 
 
-[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**14-Feb-2021**: more efficient vertex- and index-data updating in sokol_imgui.h)
+[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**17-Feb-2021**: sokol_audio.h has
+been fixed for iPhones)
 
 
 ## Examples and Related Projects
 ## Examples and Related Projects