From nobody@FreeBSD.org  Sun Dec 24 08:16:42 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id CEF3C37B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Dec 2000 08:16:42 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.1/8.11.1) id eBOGGg599616;
	Sun, 24 Dec 2000 08:16:42 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200012241616.eBOGGg599616@freefall.freebsd.org>
Date: Sun, 24 Dec 2000 08:16:42 -0800 (PST)
From: tsm@cs.brown.edu
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: .au sound files < 528 bytes actual data don't play at all
X-Send-Pr-Version: www-1.0

>Number:         23814
>Category:       kern
>Synopsis:       .au sound files < 528 bytes actual data don't play at all
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 24 08:20:00 PST 2000
>Closed-Date:    Sun Jun 08 11:01:10 PDT 2003
>Last-Modified:  Sun Jun 08 11:01:10 PDT 2003
>Originator:     Timothy Miller
>Release:        4.1.1-release
>Organization:
>Environment:
FreeBSD haywire.pvd.ri.us 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #5: Thu Oct 12 21:11:28 EDT 2000     root@haywire.pvd.ri.us:/usr/src/sys/compile/HAYWIRE  i386
>Description:
The full xemacs includes some sound files; one of them in particular,
when played on FreeBSD 4.1.1, doesn't result in any output to the
speakers. The file in question is in xemacs-packages/etc/sounds/drum-beep.au
(actually drum-beep.wav has the same problem). In FreeBSD 2.2.8 playing
the same file worked fine. If you can't easily get hold of the sound
file let me know and I'll email it to you. I was suspicious that the length
of the actual data part of this file was exactly 512 bytes, so I tried
lengthening it by one byte at a time until I heard sound; at 528 bytes long
(16 in addition to what was there in the distributed file) I hear sound,
but it's silent at 527 bytes. If I convert the file to, say 16bit signed 8KHz
raw and play that, I still get nothing, but if I convert it to 44KHz and
play it I do hear it.
>How-To-Repeat:
install xemacs and it's sounds-au package, evaluate 
(load-default-sounds) in xemacs, then try to use the arrow keys to go
past the end of file.

Alternatively, grab sox and the xemacs sounds-au package alone and do
play .../etc/sounds/drum-beep.au
>Fix:


>Release-Note:
>Audit-Trail:

From: Timothy Miller <tsm@cs.brown.edu>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/23814: .au sound files < 528 bytes actual data don't play at all
Date: 24 Dec 2000 11:39:23 -0500

 Oops, I'm sorry, I forgot to say: I'm using a SoundBlaster AWE 64 with the
 following kernel config lines for it:
 
 device          pcm
 device          sbc
 
    Tim
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Aug 11 15:11:54 PDT 2002 
State-Changed-Why:  

Is this problem still present in more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23814 
State-Changed-From-To: feedback->closed 
State-Changed-By: ceri 
State-Changed-When: Sun Jun 8 11:01:08 PDT 2003 
State-Changed-Why:  
Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 


Responsible-Changed-From-To: freebsd-bugs->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sun Jun 8 11:01:08 PDT 2003 
Responsible-Changed-Why:  
Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23814 
>Unformatted:
