- Backport upstream fixes: 0001-local.h-use-__kernel_off_t-from-linux-types.h.patch 0002-conf-cards-add-Audio-Advantage-Micro-II.patch 0003-pcm-Fix-a-wrong-value-shown-in-the-error-message-in-.patch 0004-UCM-Document-some-standard-values.patch 0005-hdspm.h-Update-LTC-ioctl-to-use-struct-hdspm_ltc.patch 0006-Update-iatomic.h-functions-definitions-for-mips.patch OBS-URL: https://build.opensuse.org/request/show/197613 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=139
28 lines
781 B
Diff
28 lines
781 B
Diff
From d469ebe2efe514ce10511dfdff852063030d658d Mon Sep 17 00:00:00 2001
|
|
From: Laurentiu Nicola <grayshade@gmail.com>
|
|
Date: Thu, 8 Aug 2013 12:29:09 +0200
|
|
Subject: [PATCH 3/6] pcm: Fix a wrong value shown in the error message in rate
|
|
plugin
|
|
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
src/pcm/pcm.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
|
|
index ca4d416..c54fa06 100644
|
|
--- a/src/pcm/pcm.c
|
|
+++ b/src/pcm/pcm.c
|
|
@@ -7932,7 +7932,7 @@ int snd_pcm_set_params(snd_pcm_t *pcm,
|
|
return err;
|
|
}
|
|
if (rrate != rate) {
|
|
- SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, err);
|
|
+ SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, rrate);
|
|
return -EINVAL;
|
|
}
|
|
/* set the buffer time */
|
|
--
|
|
1.8.4
|
|
|