NetBSD Problem Report #7291

Received: (qmail 26306 invoked from network); 30 Mar 1999 12:58:27 -0000
Message-Id: <199903301258.HAA00759@acheron.middleboro.ma.us>
Date: Tue, 30 Mar 1999 07:58:25 -0500 (EST)
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
Reply-To: mason@acheron.middleboro.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: audioplay cuts off the end of non-final wavs
X-Send-Pr-Version: 3.95

>Number:         7291
>Category:       bin
>Synopsis:       audioplay cuts off the end of waves that don't finish a group
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 30 05:05:00 +0000 1999
>Closed-Date:    Tue Mar 30 19:34:41 +0000 1999
>Last-Modified:  Tue Mar 30 19:34:58 +0000 1999
>Originator:     Mason Loring Bliss
>Release:        1999.03.29
>Organization:
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore
>Environment:

System: NetBSD acheron.middleboro.ma.us 1.3K NetBSD 1.3K (MLB) #12: Mon Mar 29 23:27:55 EST 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

Clipped from email:

The only defect I've noted is that the end of each wav is cut off if I
play a bunch in a row, like "audioplay *.wav". I'm randomly guessing that
it finishes feeding each file into /dev/audio and then begins the next,
which starts feeding in before the previous has finished playing and which
takes precedence.

>How-To-Repeat:

With several wav files in a directory:

audioplay *.wav

>Fix:

Unknown... Somehow check to make sure the audio buffer is empty before feeding
more into it? Maybe set some potentially-existing flag to tell /dev/audio to
finish emtying its buffer before processing new data? (This second, followed
by resetting to the default, appeals the most, but I don't know if such a
flag exists.)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: augustss 
State-Changed-When: Tue Mar 30 11:34:41 PST 1999 
State-Changed-Why:  
Bug fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.