From: Jaroslav Kysela Date: Wed, 1 Feb 2006 06:34:43 +0000 (+0000) Subject: Fixed snd_pcm_set_params() error code X-Git-Tag: v1.0.11rc4~36 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=59b598fac0e5c608ff5f833bce4d35b241fd8084;p=alsa-lib.git Fixed snd_pcm_set_params() error code --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 601a9d99..43d87c35 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -7145,7 +7145,7 @@ int snd_pcm_set_params(snd_pcm_t *pcm, period_time = latency / 4; err = INTERNAL(snd_pcm_hw_params_set_period_time_near)(pcm, params, &period_time, NULL); if (err < 0) { - SNDERR("Unable to set period time %i for %s: %s", s, period_time, snd_strerror(err)); + SNDERR("Unable to set period time %i for %s: %s", period_time, s, snd_strerror(err)); return err; } err = INTERNAL(snd_pcm_hw_params_get_period_size)(params, &period_size, NULL);