Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit acb86ccc authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Configure the resampler with the correct channel count when downmixing

When a track needs to be downmixed and resampled, it gets downmixed
 first before being resampled. Therefore the resampler needs to
 be configured with the channel count of the output of the downmixer
 instead of that of the track.
Removed frame size checks that don't apply anymore now that we support
 frame sizes that are not powers of 2 (e.g. 12 for 5.1 16bits), and
 changed test performed for every buffer during playback into an
 assert.

Change-Id: Ia220f00ee382f4f7848b661c58555bdca664e194
parent 97b5d0d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment