From owner-freebsd-bugs Sat Jun 1 4:50:15 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 0606F37B40D for ; Sat, 1 Jun 2002 04:50:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g51Bo3X39151; Sat, 1 Jun 2002 04:50:03 -0700 (PDT) (envelope-from gnats) Received: from mail.junkproof.net (mail.junkproof.net [206.55.70.12]) by hub.freebsd.org (Postfix) with ESMTP id 2077537B406 for ; Sat, 1 Jun 2002 04:40:02 -0700 (PDT) Received: from mail (helo=mail.junkproof.net) by mail.junkproof.net with local-bsmtp (Exim 3.32 #1) id 17E7En-000L89-00 for freebsd-gnats-submit@freebsd.org; Sat, 01 Jun 2002 06:40:01 -0500 Received: from laptop.twwells.com ( [68.32.147.21] ) by mail.junkproof.net via tcp with submission id 3cf8b28c-013d43; Sat, 1 Jun 2002 06:39:56 -0500 Received: from bill by laptop.twwells.com with local (Exim 3.36 #1) id 17E7Eg-0000mV-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 01 Jun 2002 07:39:54 -0400 Message-Id: Date: Sat, 01 Jun 2002 07:39:54 -0400 From: Bill Wells Reply-To: Bill Wells To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/38794: ESS Solo driver truncates output 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: 38794 >Category: kern >Synopsis: ESS Solo driver truncates output >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 01 04:50:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bill Wells >Release: FreeBSD 4.6-RC i386 >Organization: >Environment: System: FreeBSD twwells.com 4.6-RC FreeBSD 4.6-RC #1: Sat Jun 1 01:34:01 EDT 2002 toor@laptop.twwells.com:/usr/obj/usr/src/sys/LAPTOP i386 >Description: The final two (?) seconds of audio output sent to /dev/audio are not played, this is with the snd_solo (ESS Solo) driver. >How-To-Repeat: Copy any file whose end is obvious to /dev/audio. >Fix: I don't have one. My current workaround involves a script with this in it: ( /usr/local/bin/sox $args "$1" -t au - dd if=/dev/zero bs=16000 count=1 2>/dev/null ) | dd bs=8000 >/dev/audio 2>/dev/null Adding the 2 seconds of data results in the sound completely playing. (It's possible that adding a shorter amount of data will work. I didn't experiment beyond noting that adding 1 second does not work.) It also ties up the device for way too long. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message