From owner-freebsd-hackers Fri Sep 22 16:18:56 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA27448 for hackers-outgoing; Fri, 22 Sep 1995 16:18:56 -0700 Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id QAA27442 for ; Fri, 22 Sep 1995 16:18:53 -0700 Received: from rah.star-gate.com (localhost [127.0.0.1]) by rah.star-gate.com (8.6.12/8.6.9) with ESMTP id QAA13973; Fri, 22 Sep 1995 16:17:00 -0700 Message-Id: <199509222317.QAA13973@rah.star-gate.com> X-Mailer: exmh version 1.6.2 7/18/95 To: A.C.P.M.Kalker@student.utwente.nl cc: hackers@FreeBSD.ORG, multimedia@rah.star-gate.com Subject: Re: GUS users, can you please help me? (fwd) In-reply-to: Your message of "Sat, 23 Sep 1995 00:41:16 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 22 Sep 1995 16:16:59 -0700 From: "Amancio Hasty Jr." Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Can you please post on multimedia@rah.star-gate.com? Or send me e-mail? I don't have any problems in playing mpeg files mono or stereo. What I would like for you to include in your mail are cpu, gus model MAX or playing old GUS, is the system busy, etc... And I don't think that the vast majority of hackers on this mailing list really care about the sound stuff which is one of the reasons that the multimedia mailing was created. I have been hacking on the sound driver so my system has been going up and down trying to tracked down a problem which most of you don't have since no one here uses the GUS MAX's cs4231 in dual dma mode. Also, not too long ago, I took my system apart to upgrade it to a P100 8) Amancio >>> Alain Kalker said: > Excuse me for posting about sound matters to the 'hackers' list, but I > have tried 6(!) times now to post this to the 'multimedia' list without > success (mail delivery problems). Furthermore, the problem I have may > interest other hackers too. > > ---------- Forwarded message ---------- > Date: Fri, 22 Sep 1995 17:41:58 +0200 (MET DST) > From: Alain Kalker > To: multimedia@star-gate.com > Subject: GUS users, can you please help me? (fwd) > > > While working on the sound driver, I have found the following problem: > > Using a GUS (MAX), when playing back an .mp2 file in _mono_ mode, using > something like > > maplay -l .mp2 > > there are a few garbled fragments of sound (some of which were played > previously) mixed in with the sound. After a few seconds sound plays > normal again. > > This problem has also appeared when playing stereo .mp2 files using my > improved version of the gus_copy_from_user() function (not released yet), > but the problem playing files in mono existed even _before_ my first patch. > > Can anybody confirm this problem and, best of all, help me fix it? I > must say I have not had this problem when I was using L...x. :-( > > My present idea as to what it could be is that somehow interrupts from the > GUS are being lost or misplaced, i.e. not being serviced or serviced at > some wrong moment during the _initial_ filling of the sound driver's > buffers. > > Places where I have looked and hacked (unsuccessfully) are: > > - dmabuf.c: (DMAbuf_getwrbuffer) - wait for free space, > (DMAbuf_outputintr) > - gus_wave.c: (gus_sampling_output_block, gus_transfer_output_block, > several routines called from interrupt handlers) > > Thanks in advance for helping me out. > > --- > Alain >