This fix works for me!
I changed the computation of "header_size" a few lines earlier to +4 there,
my thinking that the 4 bytes are part of the header (not verified as I have
not had a chance to refer to the specifications, yet).
after this change, all that I have encoded has been clean!
-Greg
On 02-Sep-98 Geert van der Heijden wrote:
>Hi,
>
>This has to do with the file IO. If in the wave_open() routine you change the
>last fseek ( fseek(config.wave.file, header_size, SEEK_SET); ) to
>additional
>skip 4 bytes. it will go correctly.
>
>There is something with the header of the file (i do not know the
>real contents of the header), the first sample has a high value, and as
>there is a subband filter at the first part in the code, it will be
>smeared over several samples generating a "slight pop" in the
>mp3 stream.
>
>Can somebody give me the standard for the MS-RIFF files?
>
>Geert
>
>Gregory Hosler wrote:
>>
>> I'd certainly be interested in those fixes, but of course they really should
>> go back to the maintainer.
>>
>> On another note. Frequently I notice a "slight pop" at the very begining of
>a
>> (most) track(s). I once saw someone suspect that this might be an
>uninitialized
>> buffer, or variable. has anyone looked into this further, or run purify on
>8hz ?
>>
>> regards,
>>
>> -Greg
>>
>> On 01-Sep-98 "J. Droppo" wrote:
>> >Hi, I'm new to this list.
>> >
>> >I've noticed that the sources still have <yuck> unnecessary trig
>> >functions </yuck> in fft.c and l3psy.c. They can be removed from the 8hz
>> >02b sources, and gain about 10% speed without trying hard. My question
>> >is, assuming that speed is good and it hasn't been tried, who should I
>> >send the fix to?
>> >
>>
>> ----------------------------------
>> E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
>> Date: 02-Sep-98
>> Time: 09:03:528
>>
>> "And where were you at 00:00:00 GMT, January 1, 1970?"
>>
>> --
>> As far as the laws of mathematics refer to reality, they are not
>> certain, and as far as they are certain, they do not refer to reality.
>> -- Albert Einstein
>> ----------------------------------
>
>--
>
>Geert van der Heijden
>
>---------------------------------------------------------------------------
>Philips Semiconductors B.V. | Phone : +31-40-27 24370
>TriMedia System Group Eindhoven | mobile: +31-653759364
>Building BCp 16, (Hurksestraat 9) | fax : +31-40-27 23440
>P.O.Box 218 | E-mail: [EMAIL PROTECTED]
>5600MD Eindhoven | Seri : gheijden@nlsce1
>The Netherlands |
>---------------------------------------------------------------------------
----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 08-Sep-98
Time: 11:24:578
"And where were you at 00:00:00 GMT, January 1, 1970?"
--
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein
----------------------------------