pulseaudio/src/modules/echo-cancel
Tanu Kaskinen 6665b466d2 sink, source: remove the state getters
pa_sink_get_state() and pa_source_get_state() just return the state
variable. We can as well access the state variable directly.

There are no behaviour changes, except that module-virtual-source
accessed the main thread's sink state variable from its push() callback.
I fixed the module so that it uses the thread_info.state variable
instead. Also, the compiler started to complain about comparing a sink
state variable to a source state enum value in protocol-esound.c. The
underlying bug was that a source pointer was assigned to a variable
whose type was a sink pointer (somehow using the pa_source_get_state()
macro confused the compiler enough so that it didn't complain before).
I fixed the variable type.
2018-07-02 21:23:13 +03:00
..
adrian-aec.c echo-cancel: Add config.h in adrian-aec.c 2015-06-12 12:42:59 +05:30
adrian-aec.h echo-cancel: Fix memory leak / deinitialization of Adrian AEC 2013-02-14 16:23:38 +02:00
adrian-aec.orc echo-cancel: Make Orc file names less silly 2011-02-01 11:51:46 +05:30
adrian-license.txt echo-cancel: Add alternative echo-cancellation implementation 2010-09-07 15:12:12 +05:30
adrian.c echo-cancel: Use anonymous unions for echo canceller params 2016-02-25 09:09:13 +05:30
adrian.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
echo-cancel.h echo-cancel: Convert AGC API to deal with pa_volume_t 2016-02-25 19:06:44 +05:30
module-echo-cancel.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
null.c echo-cancel: Use anonymous unions for echo canceller params 2016-02-25 09:09:13 +05:30
speex.c echo-cancel: Expose dereverb in the speex canceller 2017-10-24 22:33:23 +05:30
webrtc.cc webrtc: improve comment about mic geometry 2016-06-22 21:04:47 +05:30