[Openal] echo cancellation

danflu at uninet.com.br danflu at uninet.com.br
Tue Jan 6 12:47:35 PST 2009


Hello,

I sent yesterday a e-mail (below) asking about echo
cancellation support with openal. I think my e-mail was too
confusing for someone to understand...

In a nutshell, I want to know 2 things:

1) Openal performs echo cancellation when capturing audio?

2) If no echo cancellation is performed when capturing how
can i get the frame from the output (speaker) in the moment
it gets played ir order to perform myselft the echo
cancellation ??? (I'm using linux ubuntu 8.04)

Thank you !
Daniel


"Hello,

I'm using the latest openal-soft version (OpenAL Soft
1.6.372) and I've been studing the huge list of capabilities
for sound effects that come with openal, but I could'nt find
anything related to echo cancellation (this should occur
when capturing, I guess...) is there any built-in support
for doing this? 

If there is no built-in suport I could just use some audio
codec API (like speex, any other ideas ?) that comes with
echo-cancellation support and use its funcions to strip the
echo out from the input samples, but there is a problem... 
How could I get the sound samples from the speakers at the
moment it gets played in order to subtract it from the
incoming samples from microphone ? (subtract means
cancelling the echo component from the input) 

Is it too "low level" for doing with openal ? Should I try
using alsa directly ? If so, could you please guive me some
directions at how i could do that ???

Thank you very much,
Daniel

"


More information about the Openal mailing list