summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllison Reid <root@cooltrainer.org>2022-02-09 21:16:51 -0800
committerDavid Faure <faure@kde.org>2022-04-30 19:12:04 +0200
commite3887446ed1a228944310cb083b72eb4c72e3622 (patch)
tree4bd424c17ae58f288667658acb4817f2c0c3e0ed
parent8b7afb56502a41145c7c12d5000af29829f1a760 (diff)
downloadshared-mime-info-e3887446ed1a228944310cb083b72eb4c72e3622.tar.gz
`audio/x-wav`: Add missing sub-class relationship with `application/x-riff`
Citations: - IBM/Microsoft Multimedia Programming Interface and Data Specifications 1.0 http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Docs/riffmci.pdf#page=36 "Most of these file formats are based on the Resource Interchange File Format (RIFF). This chapter describes the following file formats: Waveform Audio File Format (WAVE)" - https://docs.microsoft.com/en-us/windows/win32/xaudio2/resource-interchange-file-format--riff- "This overview describes the Resource Interchange File Format (RIFF), which is used in .wav files." - Library of Congress https://www.loc.gov/preservation/digital/formats/fdd/fdd000001.shtml "Subtype of: RIFF, Resource Interchange File Format (RIFF)" - Any WAVE file :) ``` [okeeblow@emi#shared-mime-info] xxd -l 16 tests/mime-detection/test.wav 00000000: 5249 4646 ac58 0100 5741 5645 666d 7420 RIFF.X..WAVEfmt ```
-rw-r--r--data/freedesktop.org.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index ac5c2afa..53c6de8f 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4776,6 +4776,7 @@ command to generate the output files.
<comment>WAV audio</comment>
<alias type="audio/wav"/>
<alias type="audio/vnd.wave"/>
+ <sub-class-of type="application/x-riff"/>
<magic>
<match type="string" value="WAVE" offset="8"/>
<match type="string" value="WAV " offset="8"/>