diff options
author | Chris Robinson <[email protected]> | 2021-03-26 02:29:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-26 02:55:45 -0700 |
commit | f045694ce0e65360ebf21bc26fcf5a757760c1dd (patch) | |
tree | 47c99bd11ac267fe2b3e85dc6b90cddd3391ab0b /alc/alconfig.cpp | |
parent | d68157380325c038cf2fd9a12f7b358b3ccc15bb (diff) |
Add an option to change the UHJ decoder method
For 2-channel UHJ, two decoding equations are provided in the original paper.
The alternative one is most often referenced for 2-channel UHJ decoding, but
the original/general one can also be used by assuming T is fully attenuated
(which the format allows for, as T can be variably attenuated by a factor
between 0 and 1 to deal with an imperfect transmission medium).
Neither method can be perfect for 2-channel UHJ, it's irrevocably lossy to the
original source, but my subjective testing indicates the general equation
produces less audibly errant results.
Diffstat (limited to 'alc/alconfig.cpp')
0 files changed, 0 insertions, 0 deletions