mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user