From owner-freebsd-gnome@freebsd.org Fri Jan 12 16:38:32 2018 Return-Path: Delivered-To: freebsd-gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B473EE6EC36 for ; Fri, 12 Jan 2018 16:38:32 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 94D9472A4E for ; Fri, 12 Jan 2018 16:38:32 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 90F34E6EC35; Fri, 12 Jan 2018 16:38:32 +0000 (UTC) Delivered-To: gnome@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90938E6EC34 for ; Fri, 12 Jan 2018 16:38:32 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) Received: from sonic311-31.consmr.mail.ir2.yahoo.com (sonic311-31.consmr.mail.ir2.yahoo.com [77.238.176.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 328ED72A4D for ; Fri, 12 Jan 2018 16:38:31 +0000 (UTC) (envelope-from p.gunnarsson@yahoo.com) X-YMail-OSG: uDUhQL4VM1nqbmOZFUuK7mvk7ofIINTCtCv2de5O0TmpWOh67r_KZivwtErgmCW U6zgMxWsfzehsYggdXA_MwnVRFLBXXvAGK0U9lXz_QBJtEU5PQD8LljLT2dgGSEXjS0pSDVythEf 1B.e5NV6CVNplIcM05M0jXSyHb2z0xatMbI9sKqey2TPtaqK6ywNUc_WrcMZ.0DII.T3OkqYhDKt Le.Vs4G4Nse1vZFTtzT98g7rt1HeEmtjX1b0NqDTY5ndrXUPoLdd67vPLO0sCP4Pp5EjQUy_lmFz UWv4Y1I4Vx3BU2XfNlNshDX2jcDRHW7H085ieOhgIW1ra3IGlqW1F.kFmXKcsQd_cvD81VCoR92q qGTt6gSvQlZDsBr5qVVX2JAKWkbMNlX0IjACs4WT.8pz_W6ES7vaJlROZ985DX_LY24iuzSrFGxM fbXSzWfNECJEpNxRbJJ7ZLnDHWfpDHtvbr5QbwC7LVLHJcWCMZsbX9d5yXEDSCl4_gBQqeDX57VC 7MHBYFWmVL5dFVd0acLD6zsmHBqc- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Fri, 12 Jan 2018 16:38:30 +0000 Received: from smtp170.mail.ir2.yahoo.com (EHLO [10.0.0.5]) ([46.228.39.37]) by smtp407.mail.ir2.yahoo.com (JAMES SMTP Server ) with ESMTPA ID a28889954c58538dc739249eccc4365c for ; Fri, 12 Jan 2018 16:38:28 +0000 (UTC) From: Per Gunnarsson Subject: webrtc for module-echo-cancel on pulseaudio (no hurry) To: gnome@FreeBSD.org Message-ID: Date: Fri, 12 Jan 2018 17:38:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 16:38:32 -0000 Hello! I have tried to compile webrtc for module-echo-cancel to pulseaudio. webrtc removes a lot of microphone noise on Linux. It compiled, but I have problems recompiling pulseaudio after that. When compiling webrtc-audio-processing-0.3, I added [*-*freebsd*], =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 OS_CFLAGS=3D"-DWEBRTC_FR= EEBSD" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 PLATFORM_CFLAGS=3D"-DWEB= RTC_POSIX" =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ], to configure.ac did env LDFLAGS=3D-lexecinfo ./configure added #include webrtc-audio-processing-0.3 #elif defined(WEBRTC_FREEBSD) =C2=A0 ret =3D pthread_getthreadid_np(); to webrtc/base/platform_thread.cc commented out something with malloc.h and/or alloca from webrtc/base/stringutils.h and after this it compiled. Before trying to compile pulseaudio, I moved the webrtc directory in webrtc-audio-processing-0.3 to /usr/local/include When trying to compile pulseaudio, I had to add a header file rotation.h to the directory webrtc/common_video. I think I found it here (apologies for html mail). After that, I ran into the attached error. I have mailed Arun Raghavan about it too. Regards, Per Gunnarsson