mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update dr_flac.
This commit is contained in:
+6
-1
@@ -1,5 +1,5 @@
|
|||||||
// FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file.
|
// FLAC audio decoder. Public domain. See "unlicense" statement at the end of this file.
|
||||||
// dr_flac - v0.9.6 - 2018-06-29
|
// dr_flac - v0.9.7 - 2018-07-05
|
||||||
//
|
//
|
||||||
// David Reid - mackron@gmail.com
|
// David Reid - mackron@gmail.com
|
||||||
|
|
||||||
@@ -1483,6 +1483,7 @@ static drflac_bool32 drflac__read_int32(drflac_bs* bs, unsigned int bitCount, dr
|
|||||||
return DRFLAC_TRUE;
|
return DRFLAC_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DRFLAC_64BIT
|
||||||
static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, drflac_uint64* pResultOut)
|
static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, drflac_uint64* pResultOut)
|
||||||
{
|
{
|
||||||
drflac_assert(bitCount <= 64);
|
drflac_assert(bitCount <= 64);
|
||||||
@@ -1501,6 +1502,7 @@ static drflac_bool32 drflac__read_uint64(drflac_bs* bs, unsigned int bitCount, d
|
|||||||
*pResultOut = (((drflac_uint64)resultHi) << 32) | ((drflac_uint64)resultLo);
|
*pResultOut = (((drflac_uint64)resultHi) << 32) | ((drflac_uint64)resultLo);
|
||||||
return DRFLAC_TRUE;
|
return DRFLAC_TRUE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Function below is unused, but leaving it here in case I need to quickly add it again.
|
// Function below is unused, but leaving it here in case I need to quickly add it again.
|
||||||
#if 0
|
#if 0
|
||||||
@@ -5719,6 +5721,9 @@ const char* drflac_next_vorbis_comment(drflac_vorbis_comment_iterator* pIter, dr
|
|||||||
|
|
||||||
// REVISION HISTORY
|
// REVISION HISTORY
|
||||||
//
|
//
|
||||||
|
// v0.9.7 - 2018-07-05
|
||||||
|
// - Fix a warning.
|
||||||
|
//
|
||||||
// v0.9.6 - 2018-06-29
|
// v0.9.6 - 2018-06-29
|
||||||
// - Fix some typos.
|
// - Fix some typos.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user