Dear Sirs,
I am working on a program that shall be able to copy "anything" (no matter if source is data or audio cd or source is DVD) as simply as possible.
Basically´my current strategy is (after the usual stuff) as follows: First I read the source TOC. Given that, I read all tracks indicated by the TOC into either a .wav file (if the TOC says it is audio) or into a .iso file for any non-audio track by means of the StarBurn_CdvdBurnerGrabber_GrabTrack function.
When writing to disk I have a second loop in which the names of all tracks that have been read from the source are included into the l__DAO_DISC_LAYOUT structure. Then every track is written by means of the StarBurn_CdvdBurnerGrabber_TrackAtOnceFromFile function to the disk.
Is this reasonable what I am doing or is this a bad concept. If it is NOT reasonable, can you give me any suggestion on how to improve it?
Best regards Ulrich Bangert
|