aboutsummaryrefslogtreecommitdiff
path: root/sokol_audio.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-05-06 12:00:04 +0200
committerAndre Weissflog <floooh@gmail.com>2019-05-06 12:00:04 +0200
commit66160cd5da07d176a671c2e8dc3c5ddd6ea4c0ac (patch)
treed4cc8e5430e58207d81b06220e7f780afe96a876 /sokol_audio.h
parent11342ce5ebbbfc6e21b54f9d8388a13ec6bb3afa (diff)
sokol_audio.h: replace SOKOL_AUDIO_NO_BACKEND with SOKOL_DUMMY_BACKEND (same as sokol_gfx.h)
Diffstat (limited to 'sokol_audio.h')
-rw-r--r--sokol_audio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sokol_audio.h b/sokol_audio.h
index 5bdcdb65..70334b05 100644
--- a/sokol_audio.h
+++ b/sokol_audio.h
@@ -9,7 +9,7 @@
Optionally provide the following defines with your own implementations:
- SOKOL_AUDIO_NO_BACKEND - use a dummy backend
+ SOKOL_DUMMY_BACKEND - use a dummy backend
SOKOL_ASSERT(c) - your own assert macro (default: assert(c))
SOKOL_LOG(msg) - your own logging function (default: puts(msg))
SOKOL_MALLOC(s) - your own malloc() implementation (default: malloc(s))
@@ -841,7 +841,7 @@ _SOKOL_PRIVATE int _saudio_fifo_read(_saudio_fifo_t* fifo, uint8_t* ptr, int num
}
/*=== DUMMY BACKEND IMPLEMENTATION ===========================================*/
-#if defined(SOKOL_AUDIO_NO_BACKEND)
+#if defined(SOKOL_DUMMY_BACKEND)
_SOKOL_PRIVATE bool _saudio_backend_init(void) { return false; };
_SOKOL_PRIVATE void _saudio_backend_shutdown(void) { };