X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mixer.cpp;h=00b3efef5032ef3ecfb0fd0c2100c506009bde96;hb=32dea58ef8f1a0b15b503708f20c536dd8533411;hp=f3ff4c385c1d46b4f3b03dc5832a6ba816a8587a;hpb=8fe6a683cb5bc9f04555c8cb9257f33c4d356ded;p=nageru diff --git a/mixer.cpp b/mixer.cpp index f3ff4c3..00b3efe 100644 --- a/mixer.cpp +++ b/mixer.cpp @@ -184,7 +184,7 @@ Mixer::Mixer(const QSurfaceFormat &format, unsigned num_cards) // hlen=16 is pretty low quality, but we use quite a bit of CPU otherwise, // and there's a limit to how important the peak meter is. - peak_resampler.setup(OUTPUT_FREQUENCY, OUTPUT_FREQUENCY * 4, /*num_channels=*/2, /*hlen=*/16); + peak_resampler.setup(OUTPUT_FREQUENCY, OUTPUT_FREQUENCY * 4, /*num_channels=*/2, /*hlen=*/16, /*frel=*/1.0); alsa.reset(new ALSAOutput(OUTPUT_FREQUENCY, /*num_channels=*/2)); }