-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't force 2.0 downmix with KEEP_DMIX_2CH flag alone.
Previously setting KEEP_DMIX_2CH flag alone forced the 2.0 downmix using default coefficients if none are embedded, while combining it with KEEP_DMIX_6CH performed the 2.0 downmix only when custom coefficients are present. Inverse the meaning of combination of these flags: make KEEP_DMIX_2CH flag extract embedded downmix when used alone. Add special FORCE_DMIX_2CH constant (both flags set) to force downmix. Forcing downmix with a single KEEP_DMIX_2CH flag is a bad idea as it might result in clipping for streams that were not prepared for 2.0 downmix. Make this caveat explicit.
- Loading branch information
Showing
4 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters