Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jun 2002 07:39:54 -0400
From:      Bill Wells <bill@twwells.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/38794: ESS Solo driver truncates output
Message-ID:  <E17E7Eg-0000mV-00@laptop.twwells.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17E7Eg-0000mV-00>