summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgcampea <dgcampea@outlook.com>2022-05-03 21:56:46 +0100
committerdgcampea <dgcampea@outlook.com>2022-05-05 16:22:51 +0100
commitdf347e7d9d82442b1e880b71b8bb76680cfc9b61 (patch)
tree17f2df0f452873a38a6ab9c3d038b0a241724f8c
parente652bb17713169ae092b05e109284c7053d89d6f (diff)
downloadshared-mime-info-df347e7d9d82442b1e880b71b8bb76680cfc9b61.tar.gz
Add TAK audio mime type
-rw-r--r--data/freedesktop.org.xml.in9
-rw-r--r--tests/mime-detection/list2
-rw-r--r--tests/mime-detection/test.takbin0 -> 170 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index cabaae84..1eae65c2 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4394,6 +4394,15 @@ command to generate the output files.
<glob pattern="*.flac"/>
<alias type="audio/x-flac"/>
</mime-type>
+ <mime-type type="audio/x-tak">
+ <comment>TAK audio</comment>
+ <acronym>TAK</acronym>
+ <expanded-acronym>Tom's lossless Audio Kompressor</expanded-acronym>
+ <magic>
+ <match type="string" value="tBaK" offset="0"/>
+ </magic>
+ <glob pattern="*.tak"/>
+ </mime-type>
<mime-type type="audio/x-wavpack">
<comment>WavPack audio</comment>
<magic>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index c300bec6..25ef57ba 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -276,6 +276,8 @@ test.mpc audio/x-musepack
test.dsf audio/x-dsf
# Created using https://tascam.com/us/product/hi-res_editor/top
test.dff audio/x-dff
+# Created using http://thbeck.de/Download/TAK_2.3.1.zip (source input: ffmpeg -f lavfi -i anullsrc=r=44100:cl=mono -t 0.1 silence.wav)
+test.tak audio/x-tak
# text
text-iso8859-15.txt text/plain
diff --git a/tests/mime-detection/test.tak b/tests/mime-detection/test.tak
new file mode 100644
index 00000000..9f9685d9
--- /dev/null
+++ b/tests/mime-detection/test.tak
Binary files differ