Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
447e22e0
Commit
447e22e0
authored
Oct 30, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dr_libs.
parent
d2a663a9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
323 additions
and
132 deletions
+323
-132
extras/dr_flac.h
extras/dr_flac.h
+14
-10
extras/dr_mp3.h
extras/dr_mp3.h
+7
-2
extras/dr_wav.h
extras/dr_wav.h
+169
-63
miniaudio.h
miniaudio.h
+133
-57
No files found.
extras/dr_flac.h
View file @
447e22e0
/*
FLAC audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_flac - v0.12.
19 - 2020-08-30
dr_flac - v0.12.
20 - 2020-09-08
David Reid - mackron@gmail.com
...
...
@@ -232,7 +232,7 @@ extern "C" {
#define DRFLAC_VERSION_MAJOR 0
#define DRFLAC_VERSION_MINOR 12
#define DRFLAC_VERSION_REVISION
19
#define DRFLAC_VERSION_REVISION
20
#define DRFLAC_VERSION_STRING DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MAJOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MINOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_REVISION)
#include <stddef.h>
/* For size_t. */
...
...
@@ -1828,14 +1828,15 @@ static DRFLAC_INLINE drflac_uint64 drflac__swap_endian_uint64(drflac_uint64 n)
#error "This compiler does not support the byte swap intrinsic."
#endif
#else
return
((
n
&
(
drflac_uint64
)
0xFF00000000000000
)
>>
56
)
|
((
n
&
(
drflac_uint64
)
0x00FF000000000000
)
>>
40
)
|
((
n
&
(
drflac_uint64
)
0x0000FF0000000000
)
>>
24
)
|
((
n
&
(
drflac_uint64
)
0x000000FF00000000
)
>>
8
)
|
((
n
&
(
drflac_uint64
)
0x00000000FF000000
)
<<
8
)
|
((
n
&
(
drflac_uint64
)
0x0000000000FF0000
)
<<
24
)
|
((
n
&
(
drflac_uint64
)
0x000000000000FF00
)
<<
40
)
|
((
n
&
(
drflac_uint64
)
0x00000000000000FF
)
<<
56
);
/* Weird "<< 32" bitshift is required for C89 because it doesn't support 64-bit constants. Should be optimized out by a good compiler. */
return
((
n
&
((
drflac_uint64
)
0xFF000000
<<
32
))
>>
56
)
|
((
n
&
((
drflac_uint64
)
0x00FF0000
<<
32
))
>>
40
)
|
((
n
&
((
drflac_uint64
)
0x0000FF00
<<
32
))
>>
24
)
|
((
n
&
((
drflac_uint64
)
0x000000FF
<<
32
))
>>
8
)
|
((
n
&
((
drflac_uint64
)
0xFF000000
))
<<
8
)
|
((
n
&
((
drflac_uint64
)
0x00FF0000
))
<<
24
)
|
((
n
&
((
drflac_uint64
)
0x0000FF00
))
<<
40
)
|
((
n
&
((
drflac_uint64
)
0x000000FF
))
<<
56
);
#endif
}
...
...
@@ -11772,6 +11773,9 @@ DRFLAC_API drflac_bool32 drflac_next_cuesheet_track(drflac_cuesheet_track_iterat
/*
REVISION HISTORY
================
v0.12.20 - 2020-09-08
- Fix a compilation error on older compilers.
v0.12.19 - 2020-08-30
- Fix a bug due to an undefined 32-bit shift.
...
...
extras/dr_mp3.h
View file @
447e22e0
/*
MP3 audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_mp3 - v0.6.1
6 - 2020-08-02
dr_mp3 - v0.6.1
7 - 2020-09-28
David Reid - mackron@gmail.com
...
...
@@ -95,7 +95,7 @@ extern "C" {
#define DRMP3_VERSION_MAJOR 0
#define DRMP3_VERSION_MINOR 6
#define DRMP3_VERSION_REVISION 1
6
#define DRMP3_VERSION_REVISION 1
7
#define DRMP3_VERSION_STRING DRMP3_XSTRINGIFY(DRMP3_VERSION_MAJOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_MINOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_REVISION)
#include <stddef.h>
/* For size_t. */
...
...
@@ -713,6 +713,8 @@ static __inline__ __attribute__((always_inline)) drmp3_int32 drmp3_clip_int16_ar
__asm__
(
"ssat %0, #16, %1"
:
"=r"
(
x
)
:
"r"
(
a
));
return
x
;
}
#else
#define DRMP3_HAVE_ARMV6 0
#endif
...
...
@@ -4430,6 +4432,9 @@ counts rather than sample counts.
/*
REVISION HISTORY
================
v0.6.17 - 2020-09-28
- Bring up to date with minimp3.
v0.6.16 - 2020-08-02
- Simplify sized types.
...
...
extras/dr_wav.h
View file @
447e22e0
This diff is collapsed.
Click to expand it.
miniaudio.h
View file @
447e22e0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment