diff options
| author | Daniil Cherednik <[email protected]> | 2025-06-29 21:43:22 +0200 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2025-06-29 21:43:22 +0200 |
| commit | a9821a6b4e26939c679182608ed745249894956e (patch) | |
| tree | 4b2e5893e57f969593a3dc9ab400b8503cf925ff /src | |
| parent | 105c7b0bb83ebe8a23a5ddc2f9f572142c871d44 (diff) | |
Fix compilation warning0.2.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/atrac/at3p/ff/atrac3plusdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atrac/at3p/ff/atrac3plusdsp.c b/src/atrac/at3p/ff/atrac3plusdsp.c index 5859876..ea901dc 100644 --- a/src/atrac/at3p/ff/atrac3plusdsp.c +++ b/src/atrac/at3p/ff/atrac3plusdsp.c @@ -122,7 +122,7 @@ static void waves_synth(Atrac3pWaveSynthParams *synth_param, /* fade out with steep Hann window if requested */ if (envelope->has_stop_point) { - pos = (envelope->stop_pos + 1 << 2) - reg_offset; + pos = ((envelope->stop_pos + 1) << 2) - reg_offset; if (pos > 0 && pos <= 128) { out[pos - 4] *= hann_window[96]; out[pos - 3] *= hann_window[64]; |
