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:
>>
>> * use one function ( lame_ioctl() ) and thousands of constants
>> to tell this function what functionality is actually requested
>> * use thousands of functions (lame_xxxxx () ) to execute a
>> functionality
>>
>> The difference is that second possiblity is more type safe, and
>> the first really looks like you never need to change the API,
>> which is only partially true (backward linking is possible, but
>> you have still a runtime error, this is often called error
>> obscuring).
>>
>> -- Frank "C programmers hate readable programs" Klemm
>>
M> I am afraid I actually agree with Frank on this point :-)
M> With the tags, you need to add a line in lame.h for each
M> variable, as well as 3 lines of code in a big 'switch'
M> statement in lame.c
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )