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:
parent
ac61fd1d78
commit
6522d2f722
2
NEWS
2
NEWS
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue