From nobody Sun May 16 22:36:49 2021 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 21C028515FF for ; Sun, 16 May 2021 22:36:58 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fjxvs6TwJz4dFB for ; Sun, 16 May 2021 22:36:57 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 14GManGl037284 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 16 May 2021 15:36:49 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 14GManOd037283; Sun, 16 May 2021 15:36:49 -0700 (PDT) (envelope-from jmg) Date: Sun, 16 May 2021 15:36:49 -0700 From: John-Mark Gurney To: evgeniy@khramtsov.org Cc: freebsd-multimedia@freebsd.org Subject: Re: Silent noise while running simple OSS program and moving mouse? Message-ID: <20210516223649.GD14975@funkthat.com> Mail-Followup-To: evgeniy@khramtsov.org, freebsd-multimedia@freebsd.org References: List-Id: Multimedia discussions List-Archive: http://lists.freebsd.org/multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Sun, 16 May 2021 15:36:49 -0700 (PDT) X-Rspamd-Queue-Id: 4Fjxvs6TwJz4dFB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Evgeniy Khramtsov via freebsd-multimedia wrote this message on Mon, May 17, 2021 at 01:01 +0300: > I wrote this simple OSS program that outputs sound from microphone back > to the speakers (the close() and stuff is omitted): > https://pastebin.com/raw/yX4gm5fL > > It works, though for some reason I get some silent noise while moving > mouse around. Any ideas what could be wrong? Thanks. Can you define silent noise better? Maybe post a recording of it. Is it gaps in the sound? where there's a gap in either playback or recording and it's absolutely silent, or do you mean that there's an additional sound that only appears when you move the mouse? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."