[alsa-devel] [PATCH 2/3] Allow frequencies down to 30 Hz

Dan McGee dpmcgee at gmail.com
Sun May 10 02:27:06 CEST 2009


Signed-off-by: Dan McGee <dpmcgee at gmail.com>
---

This patch is partially an RFC- it seems odd that we limit the frequency
at all. I proposed lowering it to 30 here only because that is what my
subwoofer can handle, but it may be better to just accept anything above
zero, or choose something like 20.

-Dan


 speaker-test/speaker-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
index 5e00ea4..38e5462 100644
--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -861,7 +861,7 @@ int main(int argc, char *argv[]) {
       break;
     case 'f':
       freq = atof(optarg);
-      freq = freq < 50.0 ? 50.0 : freq;
+      freq = freq < 30.0 ? 30.0 : freq;
       freq = freq > 5000.0 ? 5000.0 : freq;
       break;
     case 'b':
-- 
1.6.2.4



More information about the Alsa-devel mailing list