On Fri, 24 Sep 1999, Sergey A. Maslyakov wrote:

> 24.09.99 at 04:34:17 you wrote to me:
> 
> >> MH> MSVC's open/read/close functions appear to be broken. Quick fix:
> >> [...]
> >> MH> That seems to fix it.
> MH> I'd suggest using Iwasa Kazmi's fix instead. i.e. in musicin.c
> [...]
>   Actually, I have applied both patches. The first one one was Iwasa's
>   patch but it did not solve the problem then I have applied your
>   patch replacing '!=' condition with bitwise AND.
> 

I have modified the routines in get_audio.c so that the sound file
interface works for mp3 files also.  That is, the routines 
opensndfile, closesndfile, getsndsamples, etc., all work for
mp3 and uncompressed audio input files, with or without libsndfile.  This
resulted in replacing all the (outdated?) calls to open/read/close
with fopen/fread/fclose, which I think is more portable.  These calls
have been used for wav/aiff input files for a long time without
any problems on win95, so I think it should fix the win95 file i/o
problems for mp3 input files too?  

As for using Lame with non-lame aware rippers, there is 
some code in the Dll directory which will compile (with MSV5) 
lame into a bladeenc.dll file that can be used to replace blade.
Albert Faber maintins this, but I think it probably needs a little
work before it will compile in the most recent versions.

Mark



--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to