Return-Path: <>
Delivered-To: gatgul@unix01.voicenet.com
Received: (qmail 13047 invoked from network); 25 Mar 2001 20:45:53 -0000
Received: from mail11.voicenet.com (HELO voicenet.com) (207.103.0.37)
  by unix01.voicenet.com with SMTP; 25 Mar 2001 20:45:53 -0000
Received: (qmail 7185 invoked by uid 20800); 25 Mar 2001 20:45:51 -0000
Delivered-To: gatgul@voicenet.com
Received: (qmail 7182 invoked from network); 25 Mar 2001 20:45:51 -0000
Received: from fireball.blast.net (207.162.131.33)
  by mail11.voicenet.com with SMTP; 25 Mar 2001 20:45:51 -0000
Received: from localhost (localhost)
	by fireball.blast.net (8.11.1/8.11.1) id f2PL4n307197;
	Sun, 25 Mar 2001 16:04:49 -0500 (EST)
	(envelope-from MAILER-DAEMON)
Date: Sun, 25 Mar 2001 16:04:49 -0500 (EST)
From: Mail Delivery Subsystem <MAILER-DAEMON@fireball.blast.net>
Message-Id: <200103252104.f2PL4n307197@fireball.blast.net>
To: <gatgul@voicenet.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="f2PL4n307197.985554289/fireball.blast.net"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)
X-Mozilla-Status2: 00000000

This is a MIME-encapsulated message

--f2PL4n307197.985554289/fireball.blast.net

The original message was received at Sun, 25 Mar 2001 16:03:39 -0500 (EST)
from IDENT:gat@nppp07.blast.net [207.162.129.107]

   ----- The following addresses had permanent fatal errors -----
<linux-sound@vger.rutgers.edu>
    (reason: 550 <linux-sound@vger.rutgers.edu>... User unknown)

   ----- Transcript of session follows -----
... while talking to vger.rutgers.edu.:
>>> RCPT To:<linux-sound@vger.rutgers.edu>
<<< 550 <linux-sound@vger.rutgers.edu>... User unknown
550 5.1.1 <linux-sound@vger.rutgers.edu>... User unknown

--f2PL4n307197.985554289/fireball.blast.net
Content-Type: message/delivery-status

Reporting-MTA: dns; fireball.blast.net
Received-From-MTA: DNS; nppp07.blast.net
Arrival-Date: Sun, 25 Mar 2001 16:03:39 -0500 (EST)

Final-Recipient: RFC822; linux-sound@vger.rutgers.edu
Action: failed
Status: 5.1.1
Remote-MTA: DNS; vger.rutgers.edu
Diagnostic-Code: SMTP; 550 <linux-sound@vger.rutgers.edu>... User unknown
Last-Attempt-Date: Sun, 25 Mar 2001 16:03:46 -0500 (EST)

--f2PL4n307197.985554289/fireball.blast.net
Content-Type: message/rfc822

Return-Path: <gatgul@voicenet.com>
Received: from voicenet.com (IDENT:gat@nppp07.blast.net [207.162.129.107])
	by fireball.blast.net (8.11.1/8.11.1) with ESMTP id f2PL3b307124;
	Sun, 25 Mar 2001 16:03:39 -0500 (EST)
	(envelope-from gatgul@voicenet.com)
Sender: gat
Message-ID: <3ABE5864.1A8BC3A8@voicenet.com>
Date: Sun, 25 Mar 2001 15:43:16 -0500
From: Uncle George <gatgul@voicenet.com>
X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14-7.0 alpha)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-sound@vger.rutgers.edu
CC: scottm@interlog.com, sailer@ife.ee.ethz.ch
Subject: sound under-run's screws up (struct count_info *)->bytes
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I suppose the concept of handling the failure of the process to feed the
"/dev/dsp" device in a timely manner sounds ok.

The problem is that the #of bytes processed keeps going up ( and up and
up ) , even though the program has stopped feeding the i/o channel ( due
to a ^S on a printf() ) . ( SNDCTL_DSP_GETOPTR )

this makes it a little harder to keep track of the buffer stream,
because the # of bytes processed tends to now be greater than the number
of bytes written to the device. You also cant tell when the buffer is
empty ( (struct count_info *)->blocks ) because the blocks count hovers
between 0 + 1 ( i think ).


ANYWAY my expectation of (struct count_info *)->bytes is to reflect the
number of bytes processed that were derived from a user process
write("/dev/dsp" ) . The extra feeding of "/dev/dsp" due to underrun
processing should be hidden from the user.

/gat


--f2PL4n307197.985554289/fireball.blast.net--


