[vlc-devel] [RFC v2 0/3] let VLC decode more than 9 audio channels
remi at remlab.net
Mon Oct 12 22:37:56 CEST 2015
Le 2015-10-12 19:02, Emeric Grange a écrit :
> - I set the new limit to 18 channels (to match with
> WAVEFORMATEXTENSIBLE structure)
> but why not push it directly to 32?
Beyond 9, you need to fix quite a few code existing paths that need to
know all channels. Beyond 15 or 16, you also potentially need to fix
code using 16-bits integers to represent the mask. Beyond 28 or 29, you
need to replace the 3 existing flags with something else.
Strictly, speaking you could go directly to 64-bits (or 61-bits
retaining the flags). The more bits the more work though.
More information about the vlc-devel