Make leveler minimum level configurable, since it is connected to hysteresis limit.
[c64tapwav] / level.h
diff --git a/level.h b/level.h
index 3f830d7..763e617 100644 (file)
--- a/level.h
+++ b/level.h
@@ -3,6 +3,6 @@
 
 #include <vector>
 
-std::vector<float> level_samples(const std::vector<float> &pcm, int sample_rate);
+std::vector<float> level_samples(const std::vector<float> &pcm, float min_level, int sample_rate);
 
 #endif  // !defined(_LEVEL_H)