diff options
author | Max Kellermann <max@musicpd.org> | 2018-05-03 12:02:11 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-05-03 12:02:11 +0200 |
commit | 6522d2f72271367cc90a3b4f81c88a925d54981f (patch) | |
tree | b712dd04d6e2e97774a3e20fe91ef4556f4274d8 | |
parent | ac61fd1d78c3d57d8d72446a8b41cfb0c9c1906e (diff) |
decoder/{dsdiff,dsf}: support more MIME types
These are used by DSD-streaming servers. For example, MiniDLNA uses
"audio/x-dsd".
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/decoder/plugins/DsdiffDecoderPlugin.cxx | 2 | ||||
-rw-r--r-- | src/decoder/plugins/DsfDecoderPlugin.cxx | 2 |
3 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,8 @@ ver 0.20.20 (not yet released) * protocol - fix "modified-since" filter regression +* decoder + - dsdiff, dsf: support more MIME types ver 0.20.19 (2018/04/26) * protocol diff --git a/src/decoder/plugins/DsdiffDecoderPlugin.cxx b/src/decoder/plugins/DsdiffDecoderPlugin.cxx index 2c371559b..b427ab10f 100644 --- a/src/decoder/plugins/DsdiffDecoderPlugin.cxx +++ b/src/decoder/plugins/DsdiffDecoderPlugin.cxx @@ -484,6 +484,8 @@ static const char *const dsdiff_suffixes[] = { static const char *const dsdiff_mime_types[] = { "application/x-dff", + "audio/x-dff", + "audio/x-dsd", nullptr }; diff --git a/src/decoder/plugins/DsfDecoderPlugin.cxx b/src/decoder/plugins/DsfDecoderPlugin.cxx index 243d73ec5..1b008cc55 100644 --- a/src/decoder/plugins/DsfDecoderPlugin.cxx +++ b/src/decoder/plugins/DsfDecoderPlugin.cxx @@ -358,6 +358,8 @@ static const char *const dsf_suffixes[] = { static const char *const dsf_mime_types[] = { "application/x-dsf", + "audio/x-dsf", + "audio/x-dsd", nullptr }; |