[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] (no subject)
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] (no subject) |
Date: |
Wed, 25 May 2011 11:01:00 +0200 |
Hi Laurent,
Thanks for noticing this.
I added this line to the git tree.
Simon
Le vendredi 20 mai 2011 à 17:21 +0200, Laurent Brard a écrit :
>
> /* Set number of periods. Periods used to be called fragments. */
>
> exact_uvalue=periods;
>
> dir=0;
>
> if (snd_pcm_hw_params_set_periods_near(pcm_handle,
> hwparams, &exact_uvalue, &dir) < 0) {
>
> ms_warning("alsa_set_params: Error setting
> periods.");
>
> return -1;
>
> }
>
> ms_warning("alsa_set_params: period:%d Using %d", periods,
> exact_uvalue);
>
> if (dir != 0) {
>
> ms_warning("alsa_set_params: The number of
> periods %d is not supported by your hardware.\n "
>
> "==> Using %d instead.", periods,
> exact_uvalue);
>
> }
>
> + periods=exact_ulvalue;