Lagrange [release]
Cleanup
Fri Oct 9 14:19:40 2020 +0300
Moved buffers out of player.c. Include MIME type with the data so the correct decoder can be chosen.
Added stb_vorbis: https://github.com/nothings/stb
CMakeLists.txt | 3 + src/audio/buf.c | 107 + src/audio/buf.h | 74 + src/audio/player.c | 197 +- src/audio/player.h | 4 +- src/audio/stb_vorbis.c | 5563 ++++++++++++++++++++++++++++++++++++++++++++++++ src/media.c | 8 +- 7 files changed, 5802 insertions(+), 154 deletions(-)