WARNING: Multiple funcs reviewed!

There were some problems about frameCount vs sampleCount that could cause some breaks.

raylib audio structs stores sampleCount = frameCount*channels.

Most libraries return framesCount instead of sampleCount.

stb_vorbis seems to refer to framesCount as samples.

All required functions have been reviewed.
This commit is contained in:
Ray
2020-11-19 20:11:11 +01:00
parent 72e51cd6de
commit 7f6cd93d62
2 changed files with 28 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
/**********************************************************************************************
*
* raudio - A simple and easy-to-use audio library based on miniaudio
* raudio v1.0 - A simple and easy-to-use audio library based on miniaudio
*
* FEATURES:
* - Manage audio device (init/close)