show a bitrate the codecs do not report, and name LATM AAC

A decoder often gives no bitrate, so the row vanished; for a downloaded file the
size over the track length fills it in. The AAC mime Android and media3 use is
audio/mp4a-latm, which read as "MP4A-LATM" rather than AAC.
This commit is contained in:
austinried
2026-10-04 00:30:04 +00:00
parent 7b43b73592
commit 9a999498ab
3 changed files with 10 additions and 7 deletions
@@ -10,6 +10,7 @@ class AudioEncodingTest {
assertEquals("MP3", AudioEncoding("audio/mpeg").format)
assertEquals("FLAC", AudioEncoding("audio/flac").format)
assertEquals("AAC", AudioEncoding("audio/mp4").format)
assertEquals("AAC", AudioEncoding("audio/mp4a-latm").format)
assertEquals("Opus", AudioEncoding("audio/opus").format)
}