shithub: riscv

Download patch

ref: 8af84630a8888bf6ed465f0b6897f8213f680af3
parent: 6b9e3818679444f4d3480fe14409970e497c84e6
author: Jacob Moody <moody@posixcafe.org>
date: Wed Feb 8 19:41:08 EST 2023

file: identify Creative Voice File

--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -913,6 +913,7 @@
 	"Extended module: ",	"XM audio",		17,	"audio/xm",
 	"MThd",			"midi audio",		4,	"audio/midi",
 	"MUS\x1a",		"mus audio",		4,	"audio/mus",
+	"Creative Voice File\x1a\x1a",	"voc audio",	22,	"auxio/x-voc",
 	"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
 	"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
 	"\x00\x00\x00\xbb\x11\x22\x00\x44\xff\xff\xff\xff\xff\xff\xff\xff"