Implement this interface to receive progress notifications from AudioCD when writing or reading audio.
More...
#include <PrimoBurnerAPI.h>
Inherits Reference.
Implement this interface to receive progress notifications from AudioCD when writing or reading audio.
- See Also
- AudioCD::setCallback
-
AudioCD::writeToCD
-
AudioCD::readTrackFromCD
-
AudioCD::readBlocksFromCD
virtual bool_t onContinueRead |
( |
| ) |
|
|
virtual |
The onContinue method is called to check if the reading operation should continue.
- Returns
- 1 The reading should continue.
-
0 The reading should stop.
virtual bool_t onContinueWrite |
( |
| ) |
|
|
virtual |
The onContinueWrite method is called to check if the writing should continue.
- Returns
- 1 The writing should continue.
-
0 The writing should stop.
virtual void onReadProgress |
( |
uint32_t |
current, |
|
|
uint32_t |
all |
|
) |
| |
|
virtual |
The onProgress method is called to report the number of blocks read from the CD.
- Parameters
-
current | The number of blocks that have been read from the CD. |
all | The total number of blocks that will be read from the CD. This is always the size of the audio session in blocks. |
The onReadStatus method is called to report the status of the reading operation.
- Parameters
-
status | [in] Audio CD status. |
virtual void onWriteProgress |
( |
uint32_t |
current, |
|
|
uint32_t |
all |
|
) |
| |
|
virtual |
The onProgress method is called to report the number of blocks written to the CD.
- Parameters
-
current | The number of blocks that have been written to the CD. |
all | The total number of blocks that will be written to the CD. This is always the size of the audio session in blocks. |
The onWriteStatus method is called to report the status of the write operation.
- Parameters
-
virtual void onWriteTrack |
( |
int32_t |
trackIndex, |
|
|
int32_t |
percentWritten |
|
) |
| |
|
virtual |
The onTrackStatus method is called to report the write progress of individual tracks.
- Parameters
-
trackIndex | The zero based index of the track that is being written. |
percentWritten | The percentage of the track data that has been written to the CD. |
int32_t release |
( |
| ) |
const |
|
virtual |
int32_t retainCount |
( |
| ) |
const |
|
virtual |