ref: a29354f532a117ac81cea418ffabc10f5b3575ed
parent: 521ee165b802e81276a180589c64565412e59b21
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Nov 27 18:07:26 EST 2022
play: aac support
--- a/rc/bin/play
+++ b/rc/bin/play
@@ -46,6 +46,8 @@
}
}
}
+ case *aac*
+ audio/aacdec
case *ogg* *vorbis*
audio/oggdec
case *mp3* *mpeg*
--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -616,7 +616,7 @@
070707, 0xFFFF, "cpio archive", "application/x-cpio",
0x2F7, 0xFFFF, "tex dvi", "application/dvi",
0xfaff, 0xfeff, "mp3 audio", "audio/mpeg",
- 0xf0ff, 0xf6ff, "aac audio", "audio/mpeg",
+ 0xf0ff, 0xf6ff, "aac audio", "audio/aac",
/* 0xfeedface: this could alternately be a Next Plan 9 boot image */
0xcefaedfe, 0xFFFFFFFF, "32-bit power Mach-O executable", OCTET,
/* 0xfeedfacf */
--
⑨