diff options
| author | Gustav Olsson <gustav128@gmail.com> | 2019-01-26 13:45:23 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-01-26 13:45:23 +0100 |
| commit | b8fe4aaedc899188042a12d33049697a60c7c727 (patch) | |
| tree | 0946e7dcbe6b5d43c80271a3a226c24803ec4fee /sokol_audio.h | |
| parent | 33585b2f070cd9a4abd48036b93a1c0916a76c2f (diff) | |
Android support (sokol_app) (#87)
* Hello android!
* First steps. Use separate glue files for now.
* Start breaking down app flow
* Main loop and context creation
* Input event handler. Swap buffers. We have triangle!
* Improved lifecycle management
* Do not touch first_frame when tearing down/bringing up egl
* Use #include setup from emscripten
* Better cleanup on egl failure
* Handle onConfigurationChanged
* Remove obsolete comment
* Remove android_native_app_glue dependency
* Start render thread
* Correct event loop
* Clean up and document potential bug
* Re-structure state struct
* Handle full app life cycle and use old egl code
* Always keep the same egl display/context, only re-create surface
* Fix egl init bug and resize bug
* Respect requested window size, high dpi flag and device orientation
* Revert _sapp_frame() change
* Update feature table in docs
* Remove unused native activity callbacks
* Minor clean-up
* Fix high_dpi bug
* Call cleanup callback
* Handle touch inputs
* Move egl init to msg handler
* Remove cleanup that caused heap corruption
* Rename resources in state struct
* Always handle shutdown key event
* Improve shutdown code
* Clean up
* Only setBuffersGeometry if scaling to avoid artifacts
* Move comment
* Only rely on __ANDROID__ define being present
* Show keyboard as is supposed to work
* Remove critical code from asserts
Diffstat (limited to 'sokol_audio.h')
| -rw-r--r-- | sokol_audio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_audio.h b/sokol_audio.h index 1065115e..6c798820 100644 --- a/sokol_audio.h +++ b/sokol_audio.h @@ -760,7 +760,7 @@ _SOKOL_PRIVATE void _saudio_backend_shutdown(void) { } /*=== ALSA BACKEND ===========================================================*/ -#elif (defined(__linux__) || defined(__unix__)) && !defined(__EMSCRIPTEN__) +#elif (defined(__linux__) || defined(__unix__)) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) #define ALSA_PCM_NEW_HW_PARAMS_API #include <alsa/asoundlib.h> |