Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
5ad6e7fe
Commit
5ad6e7fe
authored
Feb 01, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/{audio,snd}file: handle MIME type "audio/wav"
parent
0bb943ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
NEWS
NEWS
+1
-1
AudiofileDecoderPlugin.cxx
src/decoder/plugins/AudiofileDecoderPlugin.cxx
+2
-0
SndfileDecoderPlugin.cxx
src/decoder/plugins/SndfileDecoderPlugin.cxx
+2
-0
No files found.
NEWS
View file @
5ad6e7fe
ver 0.21.20 (not yet released)
ver 0.21.20 (not yet released)
* decoder
* decoder
-
ffmpeg
: handle MIME type "audio/wav"
-
audiofile, ffmpeg, sndfile
: handle MIME type "audio/wav"
- vorbis, opus: fix seeking in small files
- vorbis, opus: fix seeking in small files
ver 0.21.19 (2020/01/17)
ver 0.21.19 (2020/01/17)
...
...
src/decoder/plugins/AudiofileDecoderPlugin.cxx
View file @
5ad6e7fe
...
@@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = {
...
@@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = {
};
};
static
const
char
*
const
audiofile_mime_types
[]
=
{
static
const
char
*
const
audiofile_mime_types
[]
=
{
"audio/wav"
,
"audio/aiff"
,
"audio/x-wav"
,
"audio/x-wav"
,
"audio/x-aiff"
,
"audio/x-aiff"
,
nullptr
nullptr
...
...
src/decoder/plugins/SndfileDecoderPlugin.cxx
View file @
5ad6e7fe
...
@@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = {
...
@@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = {
};
};
static
const
char
*
const
sndfile_mime_types
[]
=
{
static
const
char
*
const
sndfile_mime_types
[]
=
{
"audio/wav"
,
"audio/aiff"
,
"audio/x-wav"
,
"audio/x-wav"
,
"audio/x-aiff"
,
"audio/x-aiff"
,
...
...
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