speaker-test: increase the maximum supported rate to 384000
PATCH 1/1 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 <[email protected]>
--- speaker-test/speaker-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
speaker-test/speaker-test.c +1 -1
@@ -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);
Signature · 1 line
1.7.10.4
Takashi Iwai
AppliedAt Wed, 16 Jan 2013 17:06:04 +0100,
Quoted 5 lines · Antonio Ospite
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 <[email protected]>
Thanks, applied now.
Takashi
Quoted 20 lines
--- speaker-test/speaker-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)speaker-test/speaker-test.c +1
-1@@ -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);Signature · 1 line
1.7.10.4