|
|
|
|
|
- Block
- Required configuration
BurnerCompilationInfo (Function) In french: GraveurInfoCompilation Retrieves the characteristics of current compilation. Note: A compilation is the set of files to be burned onto a CD/DVD.. This compilation will be taken into account next time BurnerSave is called.
A compilation is automatically created during the first call to BurnerAddFile or to BurnerAddDirectory. A single compilation can be created at a time. A compilation is automatically deleted: - when changing the type of CD/DVD to burn (BurnerMediaType).
- when selecting the default burner (BurnerSelect).
- after the call to BurnerSave (only if the burn process was started, <Result> is set to True).
- when canceling the burn process (BurnerCancel).
- when closing the current WINDEV application or WEBDEV website.
ResNbrePiste, ResBlocs, ResTailleBloc are int
ResNbrePiste = BurnerCompilationInfo(compilationNumberAudioTracks)
ResBlocs = BurnerCompilationInfo(compilationBlocksUsed)
ResTailleBloc = BurnerCompilationInfo(compilationBlockSize)
Info("La compilation contient : " + ResNbrePiste + " pistes ", ...
"et utilise " + ResBlocs + " blocs de " + ResTailleBloc + " octets chacun.")
Syntax
<Result> = BurnerCompilationInfo(<Type of characteristic>)
<Result>: Integer constant - Requested characteristic,
- -1 if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
This function cannot be used if no CD is inserted into the burner.
<Type of characteristic>: Integer constant Type of characteristic to retrieve: | | compilationBlockSize | Size of block (in bytes). The block size depends on the type of compilation (data or audio). | compilationBlocksUsed | Number of blocks found in the current compilation. This number is updated after each call to BurnerAddFile or BurnerAddDirectory. | compilationNumberAudioTracks | - Number of audio tracks found in the current compilation.
- 0 if the current compilation is a data compilation.
This number is updated after each call to BurnerAddFile or BurnerAddDirectory. |
Remarks - The CD size is expressed in blocks.
- A block corresponds to 2048 bytes on a data CD, and 2352 bytes on an audio CD.
- A second on the CD corresponds to 75 blocks.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|