Re: [MP3 ENCODER] Parameter setting functions...

2000-10-05 Thread Sigbjørn Skjæret
>> - If the parameter's type changes, the API has to change. > WOW, IF YOU CHANGE THE MEANING OF A PARAMETER, > THIS WOULD BE A CHANGE IN THE API ALREADY AND > WOULD BREAK BACKWARD COMPATIBILITY !!! The 3-function tag-pair API would handle this fluidly, with no problems what-s

Re: [MP3 ENCODER] Parameter setting functions...

2000-10-04 Thread Takehiro Tominaga
I am planning XML like interface of LAME parameter handling. I will mail or commit the base code. It will be completely easy and feature extendable. --- [EMAIL PROTECTED] // may the source be with you! >> Both methods (thousands of functions and thousands of tags) are >> equivalent: >

Re: [MP3 ENCODER] Parameter setting functions...

2000-10-04 Thread Mark Taylor
> Note: > > Both methods (thousands of functions and thousands of tags) are equivalent: > > * use one function ( lame_ioctl() ) and thousands of constants > to tell this function what functionality is actually requested > * use thousands of functions (lame_x () ) to execute a >

Re: [MP3 ENCODER] Parameter setting functions...

2000-10-04 Thread Frank Klemm
On Wed, Oct 04, 2000 at 09:42:51PM +0100, Sigbjørn Skjæret wrote: > Just thought I'd say my thoughts on the different parameter setting function > proposals we've had so far... > > Individual functions for each parameter: > > Pros: > - None. ;) > > Cons: > - Litters the API with "thousands"

Re: [MP3 ENCODER] Parameter setting functions...

2000-10-04 Thread Robert Hegemann
Sigbjørn Skjæret schrieb am Mit, 04 Okt 2000: > Just thought I'd say my thoughts on the different parameter setting function > proposals we've had so far... > > > Individual functions for each parameter: > > Pros: > - None. ;) :-) compiler provides type check :-) direct check

[MP3 ENCODER] Parameter setting functions...

2000-10-04 Thread Sigbjørn Skjæret
Just thought I'd say my thoughts on the different parameter setting function proposals we've had so far... Individual functions for each parameter: Pros: - None. ;) Cons: - Litters the API with "thousands" of functions. - If the parameter's type changes, the API has to change. - If a new