[alsa-devel] snd_pcm_set_params typo patch
Takashi Iwai
tiwai at suse.de
Thu Aug 8 12:30:21 CEST 2013
At Wed, 7 Aug 2013 22:23:30 +0300,
Laurentiu Nicola wrote:
>
> Please, somebody apply this one. I lost quite a bit of time because of it
> :).
>
> Also, is there anything wrong with the bug tracker? It doesn't load for me.
Thanks, fixed now.
Takashi
>
> diff -urpN alsa-lib-1.0.27.2/src/pcm/pcm.c
> alsa-lib-1.0.27.2-mine/src/pcm/pcm.c
> --- alsa-lib-1.0.27.2/src/pcm/pcm.c 2013-07-08 15:31:36.000000000 +0300
> +++ alsa-lib-1.0.27.2-mine/src/pcm/pcm.c 2013-08-07 22:17:14.908673700
> +0300
> @@ -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, got %iHz)", rate,
> rrate);
> return -EINVAL;
> }
> /* set the buffer time */
>
>
> --
> Because there are many ways to skin a cat, but you only get to choose one.
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list