NetBSD Problem Report #1281
From gnats Wed Jul 26 12:26:04 1995
Received: from cis-ts4-slip4.cis.brown.edu (root@cis-ts4-slip4.cis.brown.edu [128.148.19.75]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id MAA15015 for <gnats-bugs@gnats.netbsd.org>; Wed, 26 Jul 1995 12:25:56 -0400
Message-Id: <199507261626.MAA07448@cis-ts4-slip4.cis.brown.edu>
Date: Wed, 26 Jul 1995 12:26:42 -0400
From: Mark_Weaver@brown.edu
Reply-To: Mark_Weaver@brown.edu
To: gnats-bugs@gnats.netbsd.org
Subject: Bizarre PAS16 audio output after SIGSTOP-SIGCONT
X-Send-Pr-Version: 3.2
>Number: 1281
>Category: port-i386
>Synopsis: Bizarre PAS16 audio output after SIGSTOP-SIGCONT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: mhw
>Arrival-Date: Wed Jul 26 12:35:04 +0000 1995
>Closed-Date: Fri Feb 16 08:39:51 +0000 1996
>Last-Modified: Fri Feb 16 08:41:10 +0000 1996
>Originator: Mark Weaver
>Release: NetBSD-current 7/17/95
>Organization:
Brown University Department of Computer Science
>Environment:
NetBSD cis-ts4-slip4.cis.brown.edu 1.0A NetBSD 1.0A (WEAVER) #1: Tue Jul 25 01:18:00 EDT 1995 mhw@cis-ts4-slip4.cis.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER i386
pas0 at isa0 port 0x220-0x22f irq 7 drq 1 ProAudio Spectrum 16 [rev 255] : dsp v2.00
GW2k 486-dx2/66 vlb 16m
Pro Audio Spectrum 16
>Description:
A `cat xx.au > /dev/audio` works fairly well normally, but if I
suspend that process and then continue it, the output gets garbled
in a very interesting way.
The samples are no longer output in the same order as found in the
file. It sounds as though the output is alternating between the
correct place in the file and about a second behind the correct
place. The period of alternation is a fraction of a second, but
it's definitely much more than a single sample; I'd guess 1/8 or
1/16 of a second.
My ears simply aren't accurate enough to tell the exact output
pattern with certainty, so the above description could be wrong.
Without any familiarity with the audio code, it seems as though
there's a ring buffer of samples which is getting out of sync, and
each DMA chunk reads from the middle of the intended chunk to the
end, then from the beginning to the middle. Just a guess...
>How-To-Repeat:
cat long-file.au > /dev/audio
After a few seconds, Ctrl-Z
fg
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: scottr
State-Changed-When: Mon Feb 5 16:56:29 EST 1996
State-Changed-Why:
I believe that the fix from PR 2010 solves this issue.
State-Changed-From-To: feedback->closed
State-Changed-By: mycroft
State-Changed-When: Fri Feb 16 03:39:51 EST 1996
State-Changed-Why:
Fixed.
>Unformatted:
(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.