Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2001 17:26:24 +0900 (JST)
From:      Mamoru Iwaki <iwaki@bc.niigata-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/31398: newpcm does not play back the tail of sound
Message-ID:  <20011021082624.8212.qmail@pikachu.bsp.bc.niigata-u.ac.jp>

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

>Number:         31398
>Category:       kern
>Synopsis:       newpcm does not play back the tail of sound
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 01:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mamoru Iwaki
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Niigata Univerity
>Environment:
System: FreeBSD 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Oct 20 16:05:53 JST 2001 root@:/usr/local/obj/usr/src/sys/PORTAGE300CT i386

>Description:
If you play back any sound file, you cannot hear the tail, especially
in the case that the sound file does not have enough silence.  That
is, 

% cat hoge.au > /dev/audio

does not play back the tail part.  

% cat hoge.au hoge.au > /dev/audio

plays back the first completely, but the last.  The sound file is as
follows:

% file hoge.au
ttt.au: Sun/NeXT audio data: 8-bit ISDN u-law, mono, 8012 Hz
% ls -l ttt.au
-rw-r--r--  1 iwaki  luser  6705 Aug 25  1997 hoge.au

It looks like independent of brige drivers like sbc because the
following two environments cause the same problem and others have
reported the same probrem in Japanese mailing list.  

(Desktop)
% uname -a
FreeBSD mi000.merlin.gs.niigata-u.ac.jp 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat O\
ct 20 13:45:30 JST 2001     root@mi000.merlin.gs.niigata-u.ac.jp:/usr1/obj/amd/\
mi004/home2/FreeBSD-src/stable4/src/sys/MI  i386
% dmesg | grep snd
Preloaded elf module "snd_sb16.ko" at 0xc033522c.
Preloaded elf module "snd_sbc.ko" at 0xc03352cc.
Preloaded elf module "snd_pcm.ko" at 0xc033536c.
% dmesg | grep sbc
Preloaded elf module "snd_sbc.ko" at 0xc03352cc.
sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq\
 1,5 on isa0
pcm0: <SB16 DSP 4.16> on sbc0

(Notebook)
%uname -a
FreeBSD  4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Oct 20 16:05:53 JST 2001     root@:/usr/local/obj/usr/src/sys/PORTAGE300CT  i386
%dmesg | grep pcm
pcm0: <OPL3-SA3 (YMF715)> at port 0x530-0x537,0x370-0x371,0xf8c-0xf94,0xe0e irq 5 drq 1 flags 0xc110 on isa0

>How-To-Repeat:
This problem does not appear in 4.3-RELEASE, but before 4.4-RELEASE,
and still exests in 4-STABLE.  

>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?20011021082624.8212.qmail>