summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorFelix Plamper <felix.plamper@tuta.io>2022-02-08 09:44:03 +0000
committerVille Skyttä <ville.skytta@iki.fi>2022-02-08 09:44:03 +0000
commit7bdcf3b6457979e9e928489ac6977b8ccc5880de (patch)
tree63cddb8f3f1cb8c480ab676c492ec9c7c7f92cdd /data
parentdc7e23e0d686dccc01842a0ac084b2397001a1e7 (diff)
downloadshared-mime-info-7bdcf3b6457979e9e928489ac6977b8ccc5880de.tar.gz
Added DSD mime type
Diffstat (limited to 'data')
-rw-r--r--data/freedesktop.org.xml.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 1e54b446..01ccc3f5 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4329,6 +4329,37 @@ command to generate the output files.
</magic>
<glob pattern="*.aax"/>
</mime-type>
+ <mime-type type="audio/x-dff">
+ <comment>DSDIFF audio</comment>
+ <acronym>DSDIFF</acronym>
+ <expanded-acronym>Direct Stream Digital Interchange File Format</expanded-acronym>
+ <magic priority="50">
+ <!-- from https://www.sonicstudio.com/pdf/dsd/DSDIFF_1.5_Spec.pdf -->
+ <match value="FRM8" type="string" offset="0">
+ <match value="DSD " type="string" offset="12"/>
+ </match>
+ </magic>
+ <glob pattern="*.dff"/>
+ <alias type="audio/dff"/>
+ </mime-type>
+ <mime-type type="audio/x-dsf">
+ <comment>DSF audio</comment>
+ <acronym>DSF</acronym>
+ <expanded-acronym>Direct stream digital Stream File</expanded-acronym>
+ <magic priority="50">
+ <!-- from https://dsd-guide.com/sites/default/files/white-papers/DSFFileFormatSpec_E.pdf -->
+ <match value="DSD " type="string" offset="0">
+ <match value="fmt " type="string" offset="28">
+ <match value="data" type="string" offset="80"/>
+ </match>
+ </match>
+ </magic>
+ <glob pattern="*.dsf"/>
+ <alias type="audio/dsf"/>
+ <!-- Problematic because some clients expect these mime types to be DSDIFF files -->
+ <alias type="audio/x-dsd"/>
+ <alias type="audio/dsd"/>
+ </mime-type>
<mime-type type="audio/x-it">
<comment>Impulse Tracker audio</comment>
<magic priority="50">