summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-07-22 21:01:25 +0200
committerSam Atkins <atkinssj@gmail.com>2022-08-16 13:58:51 +0100
commite52a7663ce252821d2d35d99b815070a0938b5a6 (patch)
tree5e1f7f7f128e7d065532f267404b35b0553f6bb9 /Userland
parentf48651fccc56cafdcc0ab56a63fd44c2c171f976 (diff)
downloadserenity-e52a7663ce252821d2d35d99b815070a0938b5a6.zip
Utilities/file: Handle all supported audio MIME types
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Utilities/file.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Userland/Utilities/file.cpp b/Userland/Utilities/file.cpp
index b5879d2eda..8d63f072a2 100644
--- a/Userland/Utilities/file.cpp
+++ b/Userland/Utilities/file.cpp
@@ -101,11 +101,13 @@ static Optional<String> elf_details(String description, String const& path)
__ENUMERATE_MIME_TYPE_DESCRIPTION("application/tar", "tape archive", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("application/wasm", "WebAssembly bytecode", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("application/x-7z-compressed", "7-Zip archive", description_only) \
- __ENUMERATE_MIME_TYPE_DESCRIPTION("audio/midi", "MIDI sound", description_only) \
+ __ENUMERATE_MIME_TYPE_DESCRIPTION("audio/flac", "FLAC audio", description_only) \
+ __ENUMERATE_MIME_TYPE_DESCRIPTION("audio/midi", "MIDI notes", description_only) \
+ __ENUMERATE_MIME_TYPE_DESCRIPTION("audio/mpeg", "MP3 audio", description_only) \
+ __ENUMERATE_MIME_TYPE_DESCRIPTION("audio/wave", "WAVE audio", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/blender", "Blender project file", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/elf", "ELF", elf_details) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/ext", "ext filesystem", description_only) \
- __ENUMERATE_MIME_TYPE_DESCRIPTION("extra/flac", "FLAC audio", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/iso-9660", "ISO 9660 CD/DVD image", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/isz", "Compressed ISO image", description_only) \
__ENUMERATE_MIME_TYPE_DESCRIPTION("extra/lua-bytecode", "Lua bytecode", description_only) \