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
b067926d
Commit
b067926d
authored
Jul 25, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FLAC, MP3 and WAV decoders.
parent
4f78581a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
21 deletions
+30
-21
extras/dr_flac.h
extras/dr_flac.h
+7
-4
extras/dr_mp3.h
extras/dr_mp3.h
+7
-4
extras/dr_wav.h
extras/dr_wav.h
+7
-4
miniaudio.h
miniaudio.h
+9
-9
No files found.
extras/dr_flac.h
View file @
b067926d
/*
FLAC audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_flac - v0.12.1
5 - 2020-07-06
dr_flac - v0.12.1
6 - 2020-07-25
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 1
5
#define DRFLAC_VERSION_REVISION 1
6
#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. */
...
...
@@ -317,7 +317,7 @@ typedef drflac_uint32 drflac_bool32;
#endif
DRFLAC_API
void
drflac_version
(
drflac_uint32
*
pMajor
,
drflac_uint32
*
pMinor
,
drflac_uint32
*
pRevision
);
DRFLAC_API
const
char
*
drflac_version_string
();
DRFLAC_API
const
char
*
drflac_version_string
(
void
);
/*
As data is read from the client it is placed into an internal buffer for fast access. This controls the size of that buffer. Larger values means more speed,
...
...
@@ -1673,7 +1673,7 @@ DRFLAC_API void drflac_version(drflac_uint32* pMajor, drflac_uint32* pMinor, drf
}
}
DRFLAC_API
const
char
*
drflac_version_string
()
DRFLAC_API
const
char
*
drflac_version_string
(
void
)
{
return
DRFLAC_VERSION_STRING
;
}
...
...
@@ -11752,6 +11752,9 @@ DRFLAC_API drflac_bool32 drflac_next_cuesheet_track(drflac_cuesheet_track_iterat
/*
REVISION HISTORY
================
v0.12.16 - 2020-07-25
- Fix a compilation warning.
v0.12.15 - 2020-07-06
- Check for negative LPC shifts and return an error.
...
...
extras/dr_mp3.h
View file @
b067926d
/*
MP3 audio decoder. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_mp3 - v0.6.1
4 - 2020-07-23
dr_mp3 - v0.6.1
5 - 2020-07-25
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
4
#define DRMP3_VERSION_REVISION 1
5
#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. */
...
...
@@ -246,7 +246,7 @@ typedef drmp3_int32 drmp3_result;
DRMP3_API
void
drmp3_version
(
drmp3_uint32
*
pMajor
,
drmp3_uint32
*
pMinor
,
drmp3_uint32
*
pRevision
);
DRMP3_API
const
char
*
drmp3_version_string
();
DRMP3_API
const
char
*
drmp3_version_string
(
void
);
/*
...
...
@@ -545,7 +545,7 @@ DRMP3_API void drmp3_version(drmp3_uint32* pMajor, drmp3_uint32* pMinor, drmp3_u
}
}
DRMP3_API
const
char
*
drmp3_version_string
()
DRMP3_API
const
char
*
drmp3_version_string
(
void
)
{
return
DRMP3_VERSION_STRING
;
}
...
...
@@ -4431,6 +4431,9 @@ counts rather than sample counts.
/*
REVISION HISTORY
================
v0.6.15 - 2020-07-25
- Fix a compilation warning.
v0.6.14 - 2020-07-23
- Fix undefined behaviour with memmove().
...
...
extras/dr_wav.h
View file @
b067926d
/*
WAV audio loader and writer. Choice of public domain or MIT-0. See license statements at the end of this file.
dr_wav - v0.12.
7 - 2020-07-1
5
dr_wav - v0.12.
8 - 2020-07-2
5
David Reid - mackron@gmail.com
...
...
@@ -144,7 +144,7 @@ extern "C" {
#define DRWAV_VERSION_MAJOR 0
#define DRWAV_VERSION_MINOR 12
#define DRWAV_VERSION_REVISION
7
#define DRWAV_VERSION_REVISION
8
#define DRWAV_VERSION_STRING DRWAV_XSTRINGIFY(DRWAV_VERSION_MAJOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_MINOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_REVISION)
#include <stddef.h>
/* For size_t. */
...
...
@@ -288,7 +288,7 @@ typedef drwav_int32 drwav_result;
#define DRWAV_SEQUENTIAL 0x00000001
DRWAV_API
void
drwav_version
(
drwav_uint32
*
pMajor
,
drwav_uint32
*
pMinor
,
drwav_uint32
*
pRevision
);
DRWAV_API
const
char
*
drwav_version_string
();
DRWAV_API
const
char
*
drwav_version_string
(
void
);
typedef
enum
{
...
...
@@ -1076,7 +1076,7 @@ DRWAV_API void drwav_version(drwav_uint32* pMajor, drwav_uint32* pMinor, drwav_u
}
}
DRWAV_API
const
char
*
drwav_version_string
()
DRWAV_API
const
char
*
drwav_version_string
(
void
)
{
return
DRWAV_VERSION_STRING
;
}
...
...
@@ -5926,6 +5926,9 @@ two different ways to initialize a drwav object.
/*
REVISION HISTORY
================
v0.12.8 - 2020-07-25
- Fix a compilation warning.
v0.12.7 - 2020-07-15
- Fix some bugs on big-endian architectures.
- Fix an error in s24 to f32 conversion.
...
...
miniaudio.h
View file @
b067926d
...
...
@@ -42305,7 +42305,7 @@ extern "C" {
#define DRWAV_XSTRINGIFY(x) DRWAV_STRINGIFY(x)
#define DRWAV_VERSION_MAJOR 0
#define DRWAV_VERSION_MINOR 12
#define DRWAV_VERSION_REVISION
7
#define DRWAV_VERSION_REVISION
8
#define DRWAV_VERSION_STRING DRWAV_XSTRINGIFY(DRWAV_VERSION_MAJOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_MINOR) "." DRWAV_XSTRINGIFY(DRWAV_VERSION_REVISION)
#include <stddef.h>
#ifdef _MSC_VER
...
...
@@ -42436,7 +42436,7 @@ typedef drwav_int32 drwav_result;
#endif
#define DRWAV_SEQUENTIAL 0x00000001
DRWAV_API void drwav_version(drwav_uint32* pMajor, drwav_uint32* pMinor, drwav_uint32* pRevision);
DRWAV_API const char* drwav_version_string();
DRWAV_API const char* drwav_version_string(
void
);
typedef enum
{
drwav_seek_origin_start,
...
...
@@ -42678,7 +42678,7 @@ extern "C" {
#define DRFLAC_XSTRINGIFY(x) DRFLAC_STRINGIFY(x)
#define DRFLAC_VERSION_MAJOR 0
#define DRFLAC_VERSION_MINOR 12
#define DRFLAC_VERSION_REVISION 1
5
#define DRFLAC_VERSION_REVISION 1
6
#define DRFLAC_VERSION_STRING DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MAJOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_MINOR) "." DRFLAC_XSTRINGIFY(DRFLAC_VERSION_REVISION)
#include <stddef.h>
#ifdef _MSC_VER
...
...
@@ -42756,7 +42756,7 @@ typedef drflac_uint32 drflac_bool32;
#define DRFLAC_DEPRECATED
#endif
DRFLAC_API void drflac_version(drflac_uint32* pMajor, drflac_uint32* pMinor, drflac_uint32* pRevision);
DRFLAC_API const char* drflac_version_string();
DRFLAC_API const char* drflac_version_string(
void
);
#ifndef DR_FLAC_BUFFER_SIZE
#define DR_FLAC_BUFFER_SIZE 4096
#endif
...
...
@@ -43040,7 +43040,7 @@ extern "C" {
#define DRMP3_XSTRINGIFY(x) DRMP3_STRINGIFY(x)
#define DRMP3_VERSION_MAJOR 0
#define DRMP3_VERSION_MINOR 6
#define DRMP3_VERSION_REVISION 1
4
#define DRMP3_VERSION_REVISION 1
5
#define DRMP3_VERSION_STRING DRMP3_XSTRINGIFY(DRMP3_VERSION_MAJOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_MINOR) "." DRMP3_XSTRINGIFY(DRMP3_VERSION_REVISION)
#include <stddef.h>
#ifdef _MSC_VER
...
...
@@ -43173,7 +43173,7 @@ typedef drmp3_int32 drmp3_result;
#define DRMP3_INLINE
#endif
DRMP3_API void drmp3_version(drmp3_uint32* pMajor, drmp3_uint32* pMinor, drmp3_uint32* pRevision);
DRMP3_API const char* drmp3_version_string();
DRMP3_API const char* drmp3_version_string(
void
);
typedef struct
{
int frame_bytes, channels, hz, layer, bitrate_kbps;
...
...
@@ -46848,7 +46848,7 @@ DRWAV_API void drwav_version(drwav_uint32* pMajor, drwav_uint32* pMinor, drwav_u
*pRevision = DRWAV_VERSION_REVISION;
}
}
DRWAV_API const char* drwav_version_string()
DRWAV_API const char* drwav_version_string(
void
)
{
return DRWAV_VERSION_STRING;
}
...
...
@@ -50761,7 +50761,7 @@ DRFLAC_API void drflac_version(drflac_uint32* pMajor, drflac_uint32* pMinor, drf
*pRevision = DRFLAC_VERSION_REVISION;
}
}
DRFLAC_API const char* drflac_version_string()
DRFLAC_API const char* drflac_version_string(
void
)
{
return DRFLAC_VERSION_STRING;
}
...
...
@@ -58623,7 +58623,7 @@ DRMP3_API void drmp3_version(drmp3_uint32* pMajor, drmp3_uint32* pMinor, drmp3_u
*pRevision = DRMP3_VERSION_REVISION;
}
}
DRMP3_API const char* drmp3_version_string()
DRMP3_API const char* drmp3_version_string(
void
)
{
return DRMP3_VERSION_STRING;
}
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