linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [PATCH] Propperly set bufer's end pointer when usi


From: Łukasz Kuryło
Subject: [Linphone-developers] [PATCH] Propperly set bufer's end pointer when using multiple channels for recording
Date: Tue, 12 Oct 2010 08:54:02 +0200

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.

Attachment: 0001-Propperly-set-buffer-s-end-pointer-when-using-multip.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]