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
b69f3667
Commit
b69f3667
authored
Oct 08, 2019
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update dr_mp3.
parent
c9a3b080
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
extras/dr_mp3.h
extras/dr_mp3.h
+6
-1
No files found.
extras/dr_mp3.h
View file @
b69f3667
/*
/*
MP3 audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
MP3 audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_mp3 - v0.5.
0 - 2019-10-07
dr_mp3 - v0.5.
1 - 2019-10-08
David Reid - mackron@gmail.com
David Reid - mackron@gmail.com
...
@@ -2382,6 +2382,7 @@ static void drmp3__free_default(void* p, void* pUserData)
...
@@ -2382,6 +2382,7 @@ static void drmp3__free_default(void* p, void* pUserData)
}
}
#if 0 /* Unused, but leaving here in case I need to add it again later. */
static void* drmp3__malloc_from_callbacks(size_t sz, const drmp3_allocation_callbacks* pAllocationCallbacks)
static void* drmp3__malloc_from_callbacks(size_t sz, const drmp3_allocation_callbacks* pAllocationCallbacks)
{
{
if (pAllocationCallbacks == NULL) {
if (pAllocationCallbacks == NULL) {
...
@@ -2399,6 +2400,7 @@ static void* drmp3__malloc_from_callbacks(size_t sz, const drmp3_allocation_call
...
@@ -2399,6 +2400,7 @@ static void* drmp3__malloc_from_callbacks(size_t sz, const drmp3_allocation_call
return NULL;
return NULL;
}
}
#endif
static
void
*
drmp3__realloc_from_callbacks
(
void
*
p
,
size_t
szNew
,
size_t
szOld
,
const
drmp3_allocation_callbacks
*
pAllocationCallbacks
)
static
void
*
drmp3__realloc_from_callbacks
(
void
*
p
,
size_t
szNew
,
size_t
szOld
,
const
drmp3_allocation_callbacks
*
pAllocationCallbacks
)
{
{
...
@@ -4003,6 +4005,9 @@ DIFFERENCES BETWEEN minimp3 AND dr_mp3
...
@@ -4003,6 +4005,9 @@ DIFFERENCES BETWEEN minimp3 AND dr_mp3
/*
/*
REVISION HISTORY
REVISION HISTORY
================
================
v0.5.1 - 2019-10-08
- Fix a warning with GCC.
v0.5.0 - 2019-10-07
v0.5.0 - 2019-10-07
- API CHANGE: Add support for user defined memory allocation routines. This system allows the program to specify their own memory allocation
- API CHANGE: Add support for user defined memory allocation routines. This system allows the program to specify their own memory allocation
routines with a user data pointer for client-specific contextual data. This adds an extra parameter to the end of the following APIs:
routines with a user data pointer for client-specific contextual data. This adds an extra parameter to the end of the following APIs:
...
...
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