mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 16:24:04 +02:00
Update dr_wav.
Public issue https://github.com/mackron/miniaudio/issues/420
This commit is contained in:
+3
-3
@@ -56958,7 +56958,7 @@ extern "C" {
|
||||
#define DRWAV_XSTRINGIFY(x) DRWAV_STRINGIFY(x)
|
||||
#define DRWAV_VERSION_MAJOR 0
|
||||
#define DRWAV_VERSION_MINOR 13
|
||||
#define DRWAV_VERSION_REVISION 4
|
||||
#define DRWAV_VERSION_REVISION 5
|
||||
#define DRWAV_VERSION_STRING DRWAV_XSTRINGIFY(DRWAV_VERSION_MAJOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_MINOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_REVISION)
|
||||
#include <stddef.h>
|
||||
typedef signed char drwav_int8;
|
||||
@@ -76748,8 +76748,8 @@ DRWAV_API drwav_bool32 drwav_seek_to_pcm_frame(drwav* pWav, drwav_uint64 targetF
|
||||
if (pWav->totalPCMFrameCount == 0) {
|
||||
return DRWAV_TRUE;
|
||||
}
|
||||
if (targetFrameIndex >= pWav->totalPCMFrameCount) {
|
||||
targetFrameIndex = pWav->totalPCMFrameCount - 1;
|
||||
if (targetFrameIndex > pWav->totalPCMFrameCount) {
|
||||
targetFrameIndex = pWav->totalPCMFrameCount;
|
||||
}
|
||||
if (drwav__is_compressed_format_tag(pWav->translatedFormatTag)) {
|
||||
if (targetFrameIndex < pWav->readCursorInPCMFrames) {
|
||||
|
||||
Reference in New Issue
Block a user