mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-27 16:10:48 +01:00
Improve HCA joint stereo
This commit is contained in:
parent
ae909de292
commit
de20926203
@ -1648,8 +1648,7 @@ static void apply_intensity_stereo(stChannel* ch_pair, int subframe, unsigned in
|
||||
{
|
||||
int band;
|
||||
float ratio_l = hcadecoder_intensity_ratio_table[ ch_pair[1].intensity[subframe] ];
|
||||
float ratio_r = ratio_l - 2.0f; //TODO remove
|
||||
//float ratio_r = 2.0f - ratio_l; /* correct, though other decoders substract 2.0 (it does use 'fsubr 2.0' and such) */
|
||||
float ratio_r = 2.0f - ratio_l; /* correct, though other decoders substract 2.0 (it does use 'fsubr 2.0' and such) */
|
||||
float* sp_l = ch_pair[0].spectra;
|
||||
float* sp_r = ch_pair[1].spectra;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user