ref: 493994826396340fed0afd048e642ca747a5997a
parent: 0197ce9892214c346e5ceb7ad1e0022a3eedaf1b
author: cinap_lenrek <[email protected]>
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 */