[pulseaudio-discuss] [PATCH] webrtc: improve comment

Tanu Kaskinen tanuk at iki.fi
Thu Jun 2 13:00:51 UTC 2016


The first mic channel position is not relevant for the target
direction definition.
---
 src/modules/echo-cancel/webrtc.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/echo-cancel/webrtc.cc b/src/modules/echo-cancel/webrtc.cc
index db6873d..aadb1af 100644
--- a/src/modules/echo-cancel/webrtc.cc
+++ b/src/modules/echo-cancel/webrtc.cc
@@ -184,8 +184,8 @@ static bool parse_mic_geometry(const char **mic_geometry, std::vector<webrtc::Po
     /* The target direction is expected to be in spherical point form:
      *   a,e,r
      *
-     * Where 'a is the azimuth of the first mic channel, 'e' its elevation,
-     * and 'r' the radius.
+     * Where 'a' is the azimuth of the target point relative to the center of
+     * the array, 'e' its elevation, and 'r' the radius.
      *
      * 0 radians azimuth is to the right of the array, and positive angles
      * move in a counter-clockwise direction.
-- 
2.8.1



More information about the pulseaudio-discuss mailing list