PTBurn SDK
Page 8 of 53
© 2005, Primera Technology, Inc. Primera is a registered trademark and Bravo is a trademark of Primera Technology, Inc. All other trademarks
are the property of their respective companies.
e.g.
Data = C:\MyFolder1, Session2
(This tells PTBurn to burn the contents of C:\MyFolder1 to session 2 on the disc. In this
example, there must also be an AudioFile= or ImageFile= entry for Session 1).
Up to 99 Data, AudioFile, and ImageFile entries are allowed (99 total).
See the DataImageType key below to specify burning options including file system.
The only way the Data key can be used with the AudioFile keys or the ImageFile key is if
the SessionX value is used. The Data key must not be used with AudioFile or ImageFile
with the same session value.
2.1.6
AudioFile
This is a string that specifies the name of an audio file to burn.
You can optionally specify a Pregap value (in sectors) of the track. So, the format is as follows:
AudioFile = Filename, PregapX, SessionX
Up to 99 AudioFile = statements are allowed (99 total if Data and ImageFile statements used
also).
Acceptable audio filename types include .WAV, .MP3, and .WMA.
PregapX (audio silence) values are in sectors so 75 sectors = 1 second, 150 sectors = 2 seconds,
and so on. The first audio track
will always have a Pregap of 150 even if another value is specified. If Pregap is not specified
then a value of 150 will be used as the default.
SessionX is optional and is used only if requesting a multi-session disc (a maximum of 2
sessions are allowed at this time). The value X is an integer value (1 or 2) and tells PTBurn for
which session to burn this audio file. If SessionX is not given then it will be burned into the first
(and only) session
e.g.
AudioFile = MySong.mp3, Session1
(This tells PTBurn to burn the audio file MySong.mp3 to session 1 on the disc as cd audio. In
this example there may be a Data= or ImageFile= entry for Session 2).
The only way this key can be used with the Data keys or the ImageFile key is if the
SessionX value is used. AudioFile must not be used with Data or ImageFile with the same
session value.
2.1.7
ImageFile
This specifies the name (including path) of an already-mastered disc image to be burned. The
acceptable disc image types include .GI or .ISO.