From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 9232E2F107 for ; Sun, 25 Mar 2001 15:47:41 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2PKnDL32137 for axp-list@listman.redhat.com; Sun, 25 Mar 2001 15:49:13 -0500 Received: from fireball.blast.net (fireball.blast.net [207.162.131.33]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2PKnDV32133 for ; Sun, 25 Mar 2001 15:49:13 -0500 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 f2PL6J309598 for ; Sun, 25 Mar 2001 16:06:19 -0500 (EST) (envelope-from gatgul@voicenet.com) Message-ID: <3ABE5998.302C99EB@voicenet.com> Date: Sun, 25 Mar 2001 15:48:24 -0500 From: Uncle George X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.14-7.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: [Fwd: Returned mail: see transcript for details] Content-Type: multipart/mixed; boundary="------------EB01E33AC4DE3732173A26BF" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --------------EB01E33AC4DE3732173A26BF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit where is linux-sound@vger.rutgers.edu ?? --------------EB01E33AC4DE3732173A26BF Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Message-Id: <200103252104.f2PL4n307197@fireball.blast.net> To: 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 ----- (reason: 550 ... User unknown) ----- Transcript of session follows ----- ... while talking to vger.rutgers.edu.: >>> RCPT To: <<< 550 ... User unknown 550 5.1.1 ... 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 ... 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: 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 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-- --------------EB01E33AC4DE3732173A26BF--