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 6ad453e726
commit b62b5f9643

View file

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