Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2001 22:58:46 -0700 (PDT)
From:      Ted Faber <faber@lunabase.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        faber@lunabase.org, faber@isi.edu
Subject:   kern/31445: cat sound.au > /dev/audio fails for sounds < 4KB
Message-ID:  <200110230558.f9N5wks00637@praxis.lunabase.org>

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

>Number:         31445
>Category:       kern
>Synopsis:       cat sound.au > /dev/audio fails for sounds < 4KB
>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:   Mon Oct 22 23:10:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ted Faber
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
None
>Environment:
System: FreeBSD praxis.lunabase.org 4.4-STABLE FreeBSD 4.4-STABLE #6: Mon Oct 22 20:38:06 PDT 2001 root@praxis.lunabase.org:/usr/obj/usr/src/sys/PRAXIS i386

praxis:~$ cat /dev/sndstat 
FreeBSD Audio Driver (newpcm) Oct  9 2001 23:47:33
Installed devices:
pcm0: <SB16 DSP 4.13> at io 0x220 irq 5 drq 1:5 (1p/1r/0v channels duplex)

>Description:

Sounds in au format less that 4KB long do not make sny sounds at all.  Longer
sounds make more sound, but seem to be truncated.  It *seems* like the last 4KB
is truncated.  Sounds are played with cat filename > /dev/audio , although
using sox produces similar results.

>How-To-Repeat:

2 ~4KB sounds samples are available from
http://www.lunabase.org/~faber/tmp/pipe1.au and
http://www.lunabase.org/~faber/tmp/magic.au .  Cat them to /dev/audio . Both
play on a 4.3 machine and magic produces nothing while pipe1 is slightly
truncated.  
	
>Fix:

?
>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?200110230558.f9N5wks00637>