mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:05:42 +01:00
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>
This commit is contained in:
parent
66d1cf7486
commit
cd39cfb480
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue