From owner-freebsd-bugs Tue Jan 8 11:20:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9CB4837B417 for ; Tue, 8 Jan 2002 11:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g08JK1O61340; Tue, 8 Jan 2002 11:20:01 -0800 (PST) (envelope-from gnats) Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 33DBE37B447 for ; Tue, 8 Jan 2002 11:11:54 -0800 (PST) Received: from melusine.cuivre.fr.eu.org (melusine.enst.fr [137.194.160.34]) by melchior.cuivre.fr.eu.org (Postfix) with ESMTP id 966687C7E for ; Tue, 8 Jan 2002 20:11:52 +0100 (CET) Received: by melusine.cuivre.fr.eu.org (Postfix, from userid 1000) id 6F50470; Tue, 8 Jan 2002 20:11:51 +0100 (CET) Message-Id: <20020108191151.6F50470@melusine.cuivre.fr.eu.org> Date: Tue, 8 Jan 2002 20:11:51 +0100 (CET) From: Thomas Quinot Reply-To: Thomas Quinot To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/33707: ICH (82801AA) cannot be used for mono recording Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33707 >Category: kern >Synopsis: ICH (82801AA) cannot be used for mono recording >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 08 11:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Thomas Quinot >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD melusine.cuivre.fr.eu.org 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #4: Fri Dec 28 00:29:52 CET 2001 root@melusine.cuivre.fr.eu.org:/usr/obj/usr/src/sys/MELUSINE i386 $ cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc80 irq 10 bufsz 16384 (1p/2r/0v channels duplex default) [pcm0:play:0]: speed 22050, format 00000010, flags 00000000 interrupts 0, underruns 0, ready 0 {hardware} <- feeder_monotostereo16(10000010 <- 00000010) <- feeder_root(00000010) <- {userland} [pcm0:record:0]: speed 22050, format 00000010, flags 00000000 interrupts 0, overruns 0, hfree 16384, sfree 131072 {hardware} -> feeder_root(00000010) -> {userland} [pcm0:record:1]: speed 0, format 00000000, flags 00000000 interrupts 0, overruns 0, hfree 16384, sfree 0 {hardware} -> feeder_root(00000000) -> {userland} >Description: No matter what an application requests through the use of SNDCTL_DSP_STEREO, an ICH DSP will always output stereo data. Apparently, ichchan_setformat is a no-op. This breaks various sound recording utilities, as well as ohphone (H.323 IP telephony application). >How-To-Repeat: Install audio/wavplay wavrec -M foo.wav -> the file is supposed to be mono wavplay -M foo.wav -> half-speed output wavplay -S foo.wav -> correct ouput => the file is actually stereo >Fix: None so far. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message