forked from pool/alsa-utils
Takashi Iwai
0a874f0c1f
- Backport a few fix patches from upstream git tree: 0012-aplay-Add-the-support-for-big-endian-WAV-format-RIFX.patch 0013-configure-Fix-obsolete-AM_CONFIG_HEADER-macro.patch 0014-speaker-test-increase-the-maximum-supported-rate-to-.patch 0015-amixer-Fix-dB-value-outputs-in-amixer-contents.patch OBS-URL: https://build.opensuse.org/request/show/150682 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=69
27 lines
905 B
Diff
27 lines
905 B
Diff
From cd39cfb480cd3ee6b771de33925094892b3be9fe Mon Sep 17 00:00:00 2001
|
|
From: Antonio Ospite <ao2@amarulasolutions.com>
|
|
Date: Wed, 16 Jan 2013 17:06:04 +0100
|
|
Subject: [PATCH 14/15] 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>
|
|
---
|
|
speaker-test/speaker-test.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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);
|