diff options
author | Antonio Ospite <ao2@amarulasolutions.com> | 2013-01-16 17:06:04 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-17 07:46:32 +0100 |
commit | cd39cfb480cd3ee6b771de33925094892b3be9fe (patch) | |
tree | 1043b805c68eac40b304903f5047b5e244d8b172 /speaker-test | |
parent | 66d1cf74866867773bf841293cc5a9a96484e4c6 (diff) |
speaker-test: increase the maximum supported rate to 384000
There are some devices around supporting this sample rate so let's make
speaker-test capable to deal with them.
Signed-off-by: Antonio Ospite <ao2@amarulasolutions.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'speaker-test')
-rw-r--r-- | 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 3c89c38..de42a0c 100644 --- a/speaker-test/speaker-test.c +++ b/speaker-test/speaker-test.c @@ -999,7 +999,7 @@ int main(int argc, char *argv[]) { case 'r': rate = atoi(optarg); rate = rate < 4000 ? 4000 : rate; - rate = rate > 196000 ? 196000 : rate; + rate = rate > 384000 ? 384000 : rate; break; case 'c': channels = atoi(optarg); |