Skip to content

Commit 67ab5b5

Browse files
committed
fixed a logic error
1 parent 99438a1 commit 67ab5b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/akanework/gramophone/logic/utils/PostAmpAudioSink.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ class PostAmpAudioSink(
237237
if (isOffload) {
238238
val calcGainAfter = ReplayGainUtil.calculateGain(
239239
pendingTags, mode, rgGain, reduceGain || !hasDpe,
240-
if (!hasDpe) ReplayGainUtil.RATIO else null
240+
if (hasDpe) ReplayGainUtil.RATIO else null
241241
)
242242
// DPE logic relies on flush() when tags change in a way that changes the audio.
243243
// (Use cached gain as mode may have changed without listener being modified, so a

0 commit comments

Comments
 (0)