summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-02-26 19:26:42 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-02-26 19:26:42 +0100
commit70c6dab003afbdf48fec6fc6012ccdd3aa277ac2 (patch)
tree2c7f7490f03eda1349d73e962c4755ab8a678633 /sys
parent297bf25f612d2dde0d28d7feaae0ea381be114a7 (diff)
play, file: recognize midi and mus audio
Diffstat (limited to 'sys')
-rw-r--r--sys/src/cmd/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/file.c b/sys/src/cmd/file.c
index 6e2eb1b14..4c7ff421c 100644
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -872,6 +872,8 @@ struct FILE_STRING
"BEGIN:VCARD\n", "vCard", 12, "text/directory;profile=vcard",
"AT&T", "DjVu document", 4, "image/vnd.djvu",
"Extended module: ", "XM audio", 17, "audio/xm",
+ "MThd", "midi audio", 4, "audio/midi",
+ "MUS\x1a", "mus audio", 4, "audio/mus",
0,0,0,0
};
@@ -1653,4 +1655,3 @@ isface(void)
print("face image depth %d\n", ldepth);
return 1;
}
-