Open
Description
[REQUIRED] Use case description
Some manufacturers utilize 24 bit and 32 bit int output support in their flagship device's hardware. Utilizing this hardware mode in MediaCodec and AudioTrack would avoid wasting memory and CPU time in converting to 32bit float values and would also avoid quality loss of converting to 16bit int.
Additionally, considering #415, this is required to output bit perfect audio if files are in 24 bit int or 32 bit int format.
Proposed solution
In google/ExoPlayer#6749, 32 bit float output support was added to ExoPlayer. Similar to that issue, 24 bit and 32 bit int support would solve this issue.
Alternatives considered
Keep converting to 32 bit float or 16 bit int, wasting battery and not fully utilizing user's hardware.