mirror of
https://gitlab.com/ecodis/exhale.git
synced 2025-03-09 15:50:17 +01:00
minor band M/S fix
This commit is contained in:
parent
ac1baf4923
commit
660cffb257
@ -15,5 +15,5 @@
|
||||
# define EXHALELIB_VERSION_MINOR "0"
|
||||
#endif
|
||||
#ifndef EXHALELIB_VERSION_BUGFIX
|
||||
# define EXHALELIB_VERSION_BUGFIX ".2" // "RC" or ".0", ".1", ...
|
||||
# define EXHALELIB_VERSION_BUGFIX ".3" // "RC" or ".0", ".1", ...
|
||||
#endif
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
0 ICON "exhaleApp.ico"
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 1,0,2
|
||||
FILEVERSION 1,0,3
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
|
@ -451,7 +451,16 @@ unsigned StereoProcessor::applyPredJointStereo (int32_t* const mdctSpectrum1, in
|
||||
int32_t* sfbMdctR = (alterPredDir ? &mdctSpectrum1[sfbStart] : &mdctSpectrum2[sfbStart]);
|
||||
uint64_t sumAbsValR = 0;
|
||||
|
||||
if (alphaRe == 0) continue; // nothing to do, no pred.
|
||||
if (alphaRe == 0)
|
||||
{
|
||||
if (realOnlyCalc) // update previous magnitude value
|
||||
{
|
||||
sfbMdctR += sfbWidth - 1;
|
||||
prevResi = (grpSData[sfbEv] > 0 ? *sfbMdctR : int32_t (((int64_t) sfbMdctD[sfbWidth - 1] +
|
||||
(alterPredDir ? 1 : -1) * (int64_t) *sfbMdctR + 1) >> 1));
|
||||
}
|
||||
continue; // nothing more to do, i.e., no prediction
|
||||
}
|
||||
|
||||
if (realOnlyCalc) // real data, only MDCT is available
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user