PrimoBurner(tm) for C++  5.0
CD, DVD and Blu-ray Software Development Kit
Loading...
Searching...
No Matches
QSubChannel Class Referenceabstract

The QSubChannel class defines the information that can be stored in a Q sub-channel. More...

#include <pb_api.h>

Inherits Reference.

Public Member Functions

virtual QSubChannelFormat::Enum formatCode () const =0
 Sub-channel Data Format Code.
 
virtual const QSubChannelIsrcisrc () const =0
 International standard recording code (ISRC).
 
virtual const QSubChannelMcnmcn () const =0
 Returns Media catalog number (UPC/bar code).
 
virtual const QSubChannelPositionposition () const =0
 Returns CD position.
 
- Public Member Functions inherited from Reference
virtual int32_t release () const =0
 Releases the instance.
 
virtual int32_t retain () const =0
 Retains the instance.
 
virtual int32_t retainCount () const =0
 Returns the current reference count.
 

Detailed Description

The QSubChannel class defines the information that can be stored in a Q sub-channel.

The structure is used together with the Device::createQSubChannel method to get the Q sub-channel information from the last 96 bytes of a raw CD sector data.

See also
Device::createQSubChannel

Member Function Documentation

◆ formatCode()

virtual QSubChannelFormat::Enum formatCode ( ) const
pure virtual

Sub-channel Data Format Code.

See the EQSubFormatCode enumeration for a list of possible values.

Returns
A constant from the QSubChannelFormat enumeration.

◆ isrc()

virtual const QSubChannelIsrc * isrc ( ) const
pure virtual

International standard recording code (ISRC).

Valid only when formatCode method returns QSubChannelFormat::Isrc, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelIsrc object.

◆ mcn()

virtual const QSubChannelMcn * mcn ( ) const
pure virtual

Returns Media catalog number (UPC/bar code).

Valid only when formatCode method returns QSubChannelFormat::Mcn, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelMcn object

◆ position()

virtual const QSubChannelPosition * position ( ) const
pure virtual

Returns CD position.

Valid only when formatCode method returns QSubChannelFormat::Position, otherwise the method returns NULL.

Returns
A pointer to a QSubChannelPosition object.