webrtcdsp: Synchronize with delays
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 23 Jun 2016 01:54:13 +0000 (21:54 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 23 Jun 2016 02:34:25 +0000 (22:34 -0400)
commit86aa3b5f9c7016e749e4f389adc6c5a29108b6f3
tree347e879e59d755564b81f1006682eba78d0e45c8
parentfb8662eb5c64c9c25ef670a018174b74616b6a2a
webrtcdsp: Synchronize with delays

Until now, we were synchronizing both DSP and Probe adapter by
waiting and clipping the probe adapter data. This increases the CPU
usage, can cause copies if the audio is not 10ms aligned and the worst
is that it prevents the processing from compensating for inaccurate
latency. This is also a step forward toward supporting playback
filters.
ext/webrtcdsp/gstwebrtcdsp.cpp