So I know the source disc's size. What else? In order to currectly calculate the "total progress", I a) have to check how many tracks exist, b) somehow keep track of which track (#) is currently being grabbed and then c) use the progress and the current track's size in relation to calculate the total progress. Not impossible, but horribly complicated, if you consider that probably every user of your SDK has to duct-tape this code together. And then there's still the "remaining time" left. How would I emulate this one? Wait for the first remaining time value, put it in relation to the first track's length and then caluculate the total remaning time based on the length of the remaining tracks? What if the burning speed changes during the burning progress? It really gets complicated here. I end up doing all the kind of stuff you probably coded somewhere already, just that my attempt will be buggier for sure.
(Actually, if it's so simple, why don't you just post the wrapper code for everyone's use? I'd certainly appreciate it.)
|