Subject: Re: bladeenc vs. redhat6
From: Greg Johnson (gjohnson@physics.clarku.edu)
Date: Tue Sep 14 1999 - 15:13:11 PDT
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-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
This archive was generated by hypermail 2a22 : Mon Oct 04 1999 - 12:44:52 PDT