[Speex-dev] Re: [Iaxclient-devel] iaxclient & speex

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sun May 6 07:58:45 PDT 2007


> Similar (same may be) mechanism may be used to prevent AEC
> upset in case user change mic or speaker (analog) gain manually.
> Application might detect all HW mixer changes and report them to speex
> library even if AAGC would not be used. Speex library will do essential
> actions to prevent AEC mess. So, there should be some generic API
> to notify Speex about HW mixer level changes. What do you think?

Could be done relatively easily -- in theory. The main problem is that
you need to be able to know *exactly* (within less than 1 dB) how much
the gain changed. If not, the amount of de-adaptation you cause isn't
much better than if you didn't try to compensate. In any case, the AEC
will take a few seconds to get back to its original behaviour.

	Jean-Marc


More information about the Speex-dev mailing list