Bug 23814

Summary: .au sound files < 528 bytes actual data don't play at all
Product: Base System Reporter: tsm <tsm>
Component: kernAssignee: Ceri Davies <ceri>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description tsm 2000-12-24 16:20:00 UTC
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
Comment 1 tsm 2000-12-24 16:39:23 UTC
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
Comment 2 iedowse freebsd_committer freebsd_triage 2002-08-11 23:11:54 UTC
State Changed
From-To: open->feedback


Is this problem still present in more recent releases?
Comment 3 Ceri Davies freebsd_committer freebsd_triage 2003-06-08 19:01:08 UTC
State Changed
From-To: feedback->closed

Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates. 


Comment 4 Ceri Davies freebsd_committer freebsd_triage 2003-06-08 19:01:08 UTC
Responsible Changed
From-To: freebsd-bugs->ceri

Feedback timeout (6 months or more). 
I will handle any feedback that this closure generates.