Documentation clarification for MF_MT_AUDIO_AVG_BYTES_PER_SECOND for AAC encoder

mb 0 Reputation points
2024-06-19T03:01:32.6166667+00:00

The documentation here:

https://learn.microsoft.com/en-us/windows/win32/medfound/aac-encoder

States that for AAC encoding the valid values for **MF_MT_AUDIO_AVG_BYTES_PER_SECOND **are 12000, 16000, 20000, 24000. It then says that * 6 those values should be used for 6 channel audio.

However, it then says the default value for 6 channels is 60000, which doesn't match any of the above statements. Trying to use 60000 also causes the encoder initialization to fail.

Can anyone shed light on what is correct here? Thanks

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,511 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,625 questions
{count} votes