[paranoia-dev] Large hack needed to get correct CDDB IDs

Martin Vogt mvogt at rhrk.uni-kl.de
Fri Jul 27 01:30:40 PDT 2001



On Thu, Jul 26, 2001 at 07:55:52PM +0100, Rik Hemsley wrote:
> Hi,
> 
> We currently have this function in our code, in order to work around
> a problem with libcdda_interface. The details are explained in the
> large comment. Any chance of fixing this for the next release please ?
> 
> int start_of_first_data_as_in_toc;
> int hack_track;
>

Hello,

please avoid global variables whenever possible.
When reading multiple cds with cdparanoia in a threaded environment
this will break.
The whole cdparanoia API looks re-entrant, don't change
this with "globals"

Martin

 

--- >8 ----
List archives:  http://www.xiph.org/archives/
Paranoia homepage: http://www.xiph.org/paranoia/
To unsubscribe from this list, send mail to 'paranoia-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Paranoia-dev mailing list