Oh, I see what you mean. With Track-At-Once you burn two tracks (data track and MPEG track) one-by-one. So you first get percents for data track, then you need to catch SYNCHRONIZE_CACHE callback - it's a signal for you data track is done, then next percents callback are from MPEG track. Quite simple - check the console samples
For Session-At-Once whole disc is written with one stream so you get only one 0..100% serie of calls. These are just different modes and you need to handle them in the different way.
phatmann wrote:
I understand that the callbacks come infrequently. However, the percentage should go from 0 to 100% as the VCD is written. It does not. It seems as though the percentage is set for each file as it is written. That is, the first file is written, and the percentage goes from 0 to 100%. Then the second file is written, with its percentage going from 0 to 100%. Etc. Since there is no indication of which file is being written, providing a useful VCD writing progress indicator seems impossible. Am I missing something?
On the other hand, when I use Session At Once, it writes the entire image in one pass, and thus the percentage does go from 0 to 100%. I just want to make sure that using this mode to write a VCD will cause no problems.
Thanks.