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 /src/decoder | |
parent | ac61fd1d78c3d57d8d72446a8b41cfb0c9c1906e (diff) |
decoder/{dsdiff,dsf}: support more MIME types
These are used by DSD-streaming servers. For example, MiniDLNA uses
"audio/x-dsd".
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/plugins/DsdiffDecoderPlugin.cxx | 2 | ||||
-rw-r--r-- | src/decoder/plugins/DsfDecoderPlugin.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
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 }; |