ebur128level: Fix mode bitflags

Currently the flag of true peak and sample peak are the same and
therefore true peak always wins, sample peak never.
This commit is contained in:
Christian Kohlstedde 2021-08-25 00:06:39 +02:00 committed by Sebastian Dröge
parent 4894e7b3ee
commit a8a3a6ec3e

View file

@ -47,7 +47,7 @@ enum Mode {
#[gflags(name = "Calculate loudness range", nick = "loudness-range")] #[gflags(name = "Calculate loudness range", nick = "loudness-range")]
LOUDNESS_RANGE = 0b00001000, LOUDNESS_RANGE = 0b00001000,
#[gflags(name = "Calculate sample peak", nick = "sample-peak")] #[gflags(name = "Calculate sample peak", nick = "sample-peak")]
SAMPLE_PEAK = 0b000100000, SAMPLE_PEAK = 0b00010000,
#[gflags(name = "Calculate true peak", nick = "true-peak")] #[gflags(name = "Calculate true peak", nick = "true-peak")]
TRUE_PEAK = 0b00100000, TRUE_PEAK = 0b00100000,
} }