The CDSession interface defines the layout (the TOC) of a CD session.
More...
#include <PrimoBurnerAPI.h>
Inherits Reference.
The CDSession interface defines the layout (the TOC) of a CD session.
- See Also
- CDTrack
virtual int32_t length |
( |
| ) |
const |
|
pure virtual |
The GetLength method returns the length of the session in blocks.
That is the total length of all tracks including the pre-gaps and the post-gaps.
This is a convenience method. The return value is always the post-gap end of the last track + 1.
- Returns
- number of blocks
Returns a pointer to the next CD session object.
- Returns
- A pointer to CDSession object. To avoid memory leaks the application must call the CDSession::release() method to delete the returned session object after using it. If no next session is present the method returns NULL.
virtual void setMcn |
( |
const char * |
mcn | ) |
|
|
pure virtual |
Set the Media Catalog Number (MCN) of the disc.
The MCN must be 13 characters in length. If less than 13 characters are used the MCN is padded with '0' (ASCI 0x30) characters up to length 13. Set the MCN to empty string to prevent the recording of a media catalog number.
- Parameters
-
mcn | [in] the MCN that should be recorded to the disc. |
virtual void setNextSession |
( |
CDSession * |
nextSession | ) |
|
|
pure virtual |
Sets raw point data to be used during the recording of the lead-in of a CD.
The points are used only when the session type is ST_RAW and are ignored for all other session types.
- Parameters
-
point | [in] point number. See the RawPoin::Enum enumeration. |
rawTocTrack | [in] pointer to a RawTocTrack object that contains the raw point data. Set this parameter to NULL to indicate that the point should not be used in the session. |
- Returns
- 0 The specific raw point is not supported or rawTocTrack is not valid.
-
1 Success
- See Also
- RawPoint::Enum
The SetType method sets the type of the session.
The possible values are defined in ESessionType enumeration.
- Parameters
-
sessionType | The session type. |
- See Also
- SessionType::Enum
-
CDSession::type
The GetType method retrieves the type of a session.
- Returns
- The session type. The valid session types are listed in ESessionType enumeration.
- See Also
- SessionType::Enum
-
CDSession::setType