From owner-freebsd-bugs Mon Oct 22 23:10: 9 2001 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 1441D37B407 for ; Mon, 22 Oct 2001 23:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9N6A1J71864; Mon, 22 Oct 2001 23:10:01 -0700 (PDT) (envelope-from gnats) Received: from lunabase.org (adsl-63-200-244-106.dsl.lsan03.pacbell.net [63.200.244.106]) by hub.freebsd.org (Postfix) with ESMTP id CE67937B403 for ; Mon, 22 Oct 2001 23:00:19 -0700 (PDT) Received: from praxis.lunabase.org (adsl-63-200-244-110.dsl.lsan03.pacbell.net [63.200.244.110]) by lunabase.org (8.11.4/8.11.4) with ESMTP id f9N607q74150; Mon, 22 Oct 2001 23:00:07 -0700 (PDT) (envelope-from faber@lunabase.org) Received: (from faber@localhost) by praxis.lunabase.org (8.11.6/8.11.6) id f9N5wks00637; Mon, 22 Oct 2001 22:58:46 -0700 (PDT) (envelope-from faber) Message-Id: <200110230558.f9N5wks00637@praxis.lunabase.org> Date: Mon, 22 Oct 2001 22:58:46 -0700 (PDT) From: Ted Faber Reply-To: Ted Faber To: FreeBSD-gnats-submit@freebsd.org Cc: faber@lunabase.org, faber@isi.edu X-Send-Pr-Version: 3.113 Subject: kern/31445: cat sound.au > /dev/audio fails for sounds < 4KB 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: 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: 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