21 Jan
2019
21 Jan
'19
6:46 p.m.
On Wed, Jan 16, 2019 at 5:07 PM Chakravarthi Pradeep doubleq7@gmail.com wrote:
I have ALSA driver for capture device which works fine with VLC. when I try to capture and render using own application having some issues. When I start play, it has some noise in beginning and audio is discontinuous in between. Discontinuous means, some audio frame are getting dropped in between. cut cut sound for sine wave. I have tried snd_pcm_drop and snd_pcm_drain but no use. Kindly suggest how to remove the starting noise in ALSA.
For audio rendering i'm using below application. I'm sharing reference render application which my own application is built.
https://github.com/bear24rw/alsa-utils/blob/master/aplay/aplay.c
--
Thanks and Regards
Chakravarthi Pradeep.K