[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] [PATCH] Propperly set bufer's end pointer when
From: |
Simon Morlat |
Subject: |
Re: [Linphone-developers] [PATCH] Propperly set bufer's end pointer when using multiple channels for recording |
Date: |
Wed, 13 Oct 2010 09:53:36 +0200 |
HI,
Thanks, merged to git.
Simon
Le mardi 12 octobre 2010 à 08:54 +0200, Łukasz Kuryło a écrit :
> Hello,
>
> alsa_read(...) returns value returned by snd_pcm_readi(...).
>
> That returned value represents number of PCM frames NOT samples hence
> for reading from multiple channels buffer's end pointer (b_wptr)
> should be adjusted by returned value * 2 (since using 16bit) *
> nchannels.
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers