In Delphi You can use LongBool Type !
If you want me to send to you the pas file of my conversion unit (using the
LHV1 struct), it's possible and it works fine with Wav files.
Gabriel
----- Original Message -----
From: Helmut Strickner <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 25, 2000 2:45 AM
Subject: Re: [MP3 ENCODER] lame dll API
> I used Jedi's (Bob Swart's) Header Converter tool to convert the
> Dll/BladeMP3Enc.h file to a pas unit. The output is mostly OK but screwed
up
> in a few places and needs to be cleaned up manually. Dont know if its the
> converter tool or the input file format thats causing it. If anyone is
> interested please let me know and I'll send it (8K). I have some
difficulty
> fixing it because I have never done a conversion before.
>
> The LongBool's in C are LongInt's in Pascal, the differences are small and
> little effort is required to change to the lame encoder.
>
> Thanks to all and keep up the good work guys
>
> Helmut
>
>
> > >
> > > Could anyone please tell me the difference in the header for the lame
> dll versus the bladeenc dll.
> > > Having seen the almost fourfold speed increase of lame I definitely
want
> to continue with lame.
> > > >From a previous posting from Albert Faber I understand that the
> interface is very similar to blade. My implementation is in Delphi,
> conversion of a recorded raw audio file.
> > >
> > > Any help greatly appreciated, thanks
> > >
> > > Helmut
> > >
> >
> > You should be able to call functions in the
> > lame_enc.dll exactly as you would with bladeenc.dll.
> >
> > But if you want access to more features (quality settings,
> > VBR, etc), you need to populate the "LHV1" struct instead of
> > the "MP3" struct (see lame/Dll/BladeMP3Enc.h), and
> > set (in the same struct)
> >
> > dwConfig = BE_CONFIG_LAME
> >
> > And just to expend on what Gabriel said: If you look in
> > that .h file, you will see a bunch of variables of type
> > "BOOL". In MSVC, BOOL = int, but I think to mimic this type
> > in Delphi, you need to use LongBool?
> >
> > Mark
> >
> > --
> > MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
>
> --
> MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )