Enforce the minimum power value - warvox - Unnamed repository; edit this file '… | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit a0b6f9ee5b205a9da7e77a86d8c06ea3906fee26 | |
parent 8d35cc2a4ff09cfc5e7e565ff4f3d07d7a6e9612 | |
Author: HD Moore <[email protected]> | |
Date: Sun, 22 Feb 2009 20:15:29 +0000 | |
Enforce the minimum power value | |
Diffstat: | |
M bin/search_tones.rb | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/bin/search_tones.rb b/bin/search_tones.rb | |
@@ -32,6 +32,7 @@ res.each do |x| | |
f = t[0].round | |
p = t[1].round | |
next if f == 0 | |
+ next if p < min | |
tones[ f ] ||= [] | |
tones[ f ] << t | |
end |