decoder/{dsdiff,dsf}: support more MIME types

These are used by DSD-streaming servers.  For example, MiniDLNA uses
"audio/x-dsd".
This commit is contained in:
Max Kellermann 2018-05-03 12:02:11 +02:00
parent ac61fd1d78
commit 6522d2f722
3 changed files with 6 additions and 0 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
ver 0.20.20 (not yet released) ver 0.20.20 (not yet released)
* protocol * protocol
- fix "modified-since" filter regression - fix "modified-since" filter regression
* decoder
- dsdiff, dsf: support more MIME types
ver 0.20.19 (2018/04/26) ver 0.20.19 (2018/04/26)
* protocol * protocol

View File

@ -484,6 +484,8 @@ static const char *const dsdiff_suffixes[] = {
static const char *const dsdiff_mime_types[] = { static const char *const dsdiff_mime_types[] = {
"application/x-dff", "application/x-dff",
"audio/x-dff",
"audio/x-dsd",
nullptr nullptr
}; };

View File

@ -358,6 +358,8 @@ static const char *const dsf_suffixes[] = {
static const char *const dsf_mime_types[] = { static const char *const dsf_mime_types[] = {
"application/x-dsf", "application/x-dsf",
"audio/x-dsf",
"audio/x-dsd",
nullptr nullptr
}; };