From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11497 invoked from network); 14 Sep 1999 22:13:19 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Sep 1999 22:13:19 -0000 Received: from physics.clarku.edu (gjohnson@planck.clarku.edu [140.232.2.12]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA08974 for ; Tue, 14 Sep 1999 18:13:17 -0400 Received: (from gjohnson@localhost) by physics.clarku.edu (8.8.7/8.8.7) id SAA22821 for axp-list@redhat.com; Tue, 14 Sep 1999 18:13:11 -0400 Message-ID: <19990914181311.A22726@physics.clarku.edu> Date: Tue, 14 Sep 1999 18:13:11 -0400 From: Greg Johnson To: axp-list@redhat.com Subject: Re: bladeenc vs. redhat6 References: <006301befeb4$97300e70$470311ac@hawo.stw.unierlangen.de> <00a701befec0$91c93090$0bc43f81@isobutane.net> <37DD3B54.66A679A3@alphalinux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <37DD3B54.66A679A3@alphalinux.org>; from Peter Petrakis on Mon, Sep 13, 1999 at 01:58:44PM -0400 X-Operating-System: Linux planck.clarku.edu 2.2.1-ac6 On Mon, Sep 13, 1999 at 01:58:44PM -0400, Peter Petrakis wrote: > Kurt Ludwig wrote: > > > > My friend pete and I ran accross the same thing... > > we didn'tresearch it a lot, but it's something in compaq's math library vs. > > the GNU one > > Actually after more testing I found it had the same behavior with or > with using cpml. Something wierd is going on. > The problem is not with the math library. It's a sizeof(long) != 4 issue. The following change got it to work for me. Greg --- samplein.c~ Sat Aug 7 11:30:53 1999 +++ samplein.c Mon Aug 30 01:06:11 1999 @@ -256,8 +256,8 @@ { short wFormatTag; /* Format category */ short wChannels; /* Number of channels */ - long dwSamplesPerSec; /* Sampling rate */ - long dwAvgBytesPerSec; /* For buffer estimation */ + int dwSamplesPerSec; /* Sampling rate */ + int dwAvgBytesPerSec; /* For buffer estimation */ short wBlockAlign; /* Data block size */ short bitsPerSample; /* Actually a PCM-specific additional byte... */ } sFmtChunk; -- Greg Johnson gjohnson@physics.clarku.edu http://physics.clarku.edu/~gjohnson finger for PGP key