Commit Graph

18 Commits

Author SHA1 Message Date
David Reid f1bf58d0f8 "MAL_" to "MA_". 2019-03-06 20:51:38 +10:00
David Reid b93faa46e5 MINI_AL_IMPLEMENTATION to MINIAUDIO_IMPLEMENTATION. 2019-03-06 20:49:18 +10:00
David Reid d72e7b1fce "mini_al" to "miniaudio". 2019-03-06 20:42:48 +10:00
David Reid dae1bdd6c2 Update advanced config example. 2019-03-05 19:24:15 +10:00
David Reid cdc49541a2 API CHANGE: Move pUserData from device_init() to device_config_init().
This change makes it consistent with mal_pcm_converter, mal_src, etc.
2018-12-30 17:29:03 +10:00
David Reid 21e15a4ca1 Fix some errors with the previous commit. 2018-08-11 21:31:05 +10:00
David Reid 64a534744a Update advanced config example with new backends. 2018-08-05 12:22:30 +10:00
David Reid 59726df2c2 MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION 2018-05-21 20:03:11 +10:00
David Reid baf8830cb0 Update the advanced_config example. 2018-04-29 17:11:44 +10:00
David Reid afb0029da0 Update the advanced config example. 2018-03-11 07:21:07 +10:00
David Reid 53692202a2 Fix memory leaks in the advanced config example. 2018-03-04 10:22:27 +10:00
David Reid 35af204e21 Clean up whitespace. 2017-12-03 17:09:23 +10:00
David Reid 5d0705b34e Check the return value of mal_device_start() in examples. 2017-12-03 17:02:30 +10:00
David Reid c340035fe6 Polish the SDL backend and the Emscripten build.
* Remove dependency on SDL.h where possible
 * Use run-time linking where possible
 * Support both SDL 1.2 and SDL 2
 * Add device enumeration when using SDL 2

The Emscripten build currently uses SDL 1.2 because it avoids the need
for "-s USE_SDL=2" when compiling. This may change later if there's
ever a need or if there's enough demand.
2017-11-19 12:04:58 +10:00
David Reid ec2bbe5995 Fix typo. 2017-11-17 19:18:48 +10:00
David Reid 15da6a79c7 Stop trying to silence a non-warning. 2017-11-11 09:51:02 +10:00
David Reid 5c7bb0dc98 Update the advanced config example with backend selection. 2017-11-11 17:58:40 +10:00
David Reid 8fdb156d57 Add advanced config example. 2017-11-11 17:01:49 +10:00