I have heavy problems replacing the definition of the element:
internal_flags
in the structure lame_global_flags.
lame_internal_flags is defined in lame.h with:
/************************************************************************/
/* more internal variables, which will not exist after lame_encode_finish() */
/************************************************************************/
void* internal_flags;
which is not very fine (it's the PEEK and POKE of C).
/************************************************************************/
/* more internal variables, which will not exist after lame_encode_finish() */
/************************************************************************/
lame_internal_flags* internal_flags;
is the real structure of internal_flags.
This structure is defined in util.h and contains a structure plotting_data.
plotting_data is defined in gtkanal.h and gtkanal.h needs the type lame_global_flags
defined in lame.h.
Summary:
lame_global_flags defined in lame.h needs
lame_internal_flags defined in util.h
lame_internal_flags defined in util.h needs
plotting_data defined in gtkanal.h
plotting_data defined in gtkanal.h needs
lame_global_flags defined in lame.h
.....
Who is responsible for that?
Who obscured this by using a 'void*'?
--
Frank "I hate gordic knots" Klemm
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )