linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] (no subject)


From: Def NotACop
Subject: [Linphone-developers] (no subject)
Date: Wed, 2 Sep 2015 21:18:47 +0200


I'm desperately trying to apply simple sound effect to the input mic audio. After some digging into code and reading docs I thought I understood how these filters work.
I then took MSPulseRead and for starters in pulse_read_process I zero'd out input audio stream just to see if I'm at right place:

N = (om->b_wptr - om->b_rptr) / 2;
memset(om->b_rptr,0,N);
ms_queue_put(f->outputs[0], om);

...but nothing really happened. Output voice was slightly distorted, but it was pretty clear. To my understanding, audio stream of all 0s should make silent output?

Can somebody please make this clear: om->b_rptr points to int16_t array of PCM samples?

Thank you very much!

Regards,
Mark


reply via email to

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