codecaac: add test case

This commit is contained in:
aler9
2021-03-26 18:40:39 +01:00
parent adbdcc37ba
commit 3a38a93b66

View File

@@ -11,6 +11,15 @@ var configCases = []struct {
enc []byte
dec MPEG4AudioConfig
}{
{
name: "aac-lc 44.1khz mono",
enc: []byte{0x12, 0x08, 0x56, 0xe5, 0x00},
dec: MPEG4AudioConfig{
Type: MPEG4AudioTypeAACLC,
SampleRate: 44100,
ChannelCount: 1,
},
},
{
name: "aac-lc 48khz stereo",
enc: []byte{17, 144},