Commit graph

7 commits

Author SHA1 Message Date
Arun Raghavan
10937e4054 echo-cancel: Move the module into it's own directory
This will make splitting out the canceller parts cleaner.
2010-09-07 15:12:12 +05:30
Wim Taymans
d18cae458f echo-cancel: keep frame_size a power of 2
The speex echo canceler prefers a power of 2 for the frame size. Round down the
ideal frame_size to the nearest power of two. This makes sure we don't create
more than the requested frame_size_ms latency while still providing a power of 2
to the speex echo canceller.
2010-09-02 17:31:37 +02:00
Wim Taymans
1983337f0e echo-cancel: improve debug 2010-09-02 17:31:36 +02:00
Wim Taymans
c3cc461bf5 echo-cancel: tweak the resync code a little
Try to keep the drift between source and sink within 4ms now that we have more
accurate timings.
Don't force a resync on latency changes but let the drift code handle it.
2010-09-02 17:31:36 +02:00
Wim Taymans
95bdf67500 echo-cancel: use the phone media role
Tag the source and sink with the phone media roles so that they automatially
connect to phone streams such as Empathy when using the intended-rols module.
2010-09-02 17:31:36 +02:00
Wim Taymans
ef0c73cb9d echo-cancel: take into account snapshot delay
Take into account the delay between taking the snapshot from the source and the
sink. Improves the quality of the timings.
2010-08-23 17:47:40 +02:00
Wim Taymans
3dc5469c1f make echo-cancel module that exposes a new sink and source
Make a new echo-cancel module that exposes a new sink and source. All data sent
to the sink is matched against the data captured from the source and
echo-canceled using the speex echo canceler.
2010-08-23 16:55:23 +02:00