mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
speaker-test: Allow sampling rates up to 768000
There are audio devices around that support up to 768kHz playback, allow testing them by increasing the maximum supported sampling rate. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
98ff617431
commit
a3d81b6bea
1 changed files with 1 additions and 1 deletions
|
@ -1034,7 +1034,7 @@ int main(int argc, char *argv[]) {
|
|||
case 'r':
|
||||
rate = atoi(optarg);
|
||||
rate = rate < 4000 ? 4000 : rate;
|
||||
rate = rate > 384000 ? 384000 : rate;
|
||||
rate = rate > 768000 ? 768000 : rate;
|
||||
break;
|
||||
case 'c':
|
||||
channels = atoi(optarg);
|
||||
|
|
Loading…
Reference in a new issue