Re: [Alsa-user] mic / loudspeaker signals synchronization

2009-01-26 Thread Daniel
Thank you for your reply. My purpose here is to cancel the feedback echo that comes from the loudspeaker into the mic. The echo canceling API I'm using (libspeex) has the folowing function for echo cancelling: void speex_echo_cancellation(speex_context[in], mic [in], loudspeaker[in], output_w

Re: [Alsa-user] mic / loudspeaker signals synchronization

2009-01-26 Thread sonof...@iinet.net.au
There will always be some latency between mic input and speaker output when monitoring via the system, regardless of OS driver or subsystem.. You are also very likely to get feedback issues in this scenario. What is you rpurpose and maybe we can make some suggestions to resolve your particula

[Alsa-user] mic / loudspeaker signals synchronization

2009-01-26 Thread Daniel
Please, Is there any way to keep mic and loudspeaker signals in sync using alsa (echo cancellation purposes)? If so, how can I get these signals ??? Is there any kind of notification from alsa/kernel/mixer (or whatever) to bring these two signals synchronized ? Thanks in advance! Daniel -