mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 20:12:33 +01:00
to fix the peak calculation also delete the division
This commit is contained in:
parent
f58f03dbfd
commit
a3770686b4
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ class Bs1770gainBackend(Backend):
|
|||
albumgaintot += returnchunk[-1].gain
|
||||
albumpeaktot = max(albumpeaktot, returnchunk[-1].peak)
|
||||
returnchunks = returnchunks + returnchunk[0:-1]
|
||||
returnchunks.append(Gain(albumgaintot / i, albumpeaktot / i))
|
||||
returnchunks.append(Gain(albumgaintot / i, albumpeaktot))
|
||||
return returnchunks
|
||||
else:
|
||||
return self.compute_chunk_gain(items, is_album)
|
||||
|
|
|
|||
Loading…
Reference in a new issue