Platforms to show: All Mac Windows Linux Cross-Platform
DRTrackMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
A DRTrack provides data to the for the burn and contains a description of the track on disc (length, block type, data format, etc). Data is provided for the burn in a real-time thread. It is up to the track to provide this data in a timely manner, otherwise a burn underrun can occur and ruin a disc.
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
- 9 events
- event cleanupTrackAfterBurn
- event cleanupTrackAfterVerification as boolean
- event estimateLengthOfTrack as uint64
- event prepareTrack(burn as DRBurnMBS) as boolean
- event prepareTrackForVerification as boolean
- event produceDataForTrack(buffer as memoryblock, Bufferlen as uint32, address as uint64, blocksize as uint32, byref flags as uint32) as uint32
- event producePreGapForTrack(buffer as memoryblock, Bufferlen as uint32, address as uint64, blocksize as uint32, byref flags as uint32) as uint32
- event verifyDataForTrack(buffer as memoryblock, Bufferlen as uint32, address as uint64, blocksize as uint32, byref flags as uint32) as boolean
- event verifyPreGapForTrack(buffer as memoryblock, Bufferlen as uint32, address as uint64, blocksize as uint32, byref flags as uint32) as boolean
- 13 properties
- property BlockSize as Integer
- property BlockType as Integer
- property DataForm as Integer
- property length as DRMSFMBS
- property MaxBurnSpeed as Double
- property preGap as DRMSFMBS
- property PreGapIsRequired as boolean
- property PreGapLength as Double
- property properties as dictionary
- property SessionFormat as Integer
- property TrackISRC as memoryblock
- property TrackMode as Integer
- property VerificationType as string
- 4 methods
- method Constructor
- method estimateLength as UInt64
- method testProductionSpeedForInterval(seconds as Double) as Double
- method testProductionSpeedForLength(length as Integer) as Double
- 66 shared methods
- shared method DRAbstractFile as string
- shared method DRApplicationIdentifier as string
- shared method DRAudioFourChannelKey as string
- shared method DRAudioPreEmphasisKey as string
- shared method DRBibliographicFile as string
- shared method DRBlockSize as string
- shared method DRBlockSizeKey as string
- shared method DRBlockTypeKey as string
- shared method DRCopyrightFile as string
- shared method DRDataFormKey as string
- shared method DRDataPreparer as string
- shared method DRDefaultDate as string
- shared method DRDVDCopyrightInfoKey as string
- shared method DRDVDTimestampKey as string
- shared method DRFreeBlocksKey as string
- shared method DRIndexPointsKey as string
- shared method DRISOLevel as string
- shared method DRISOMacExtensions as string
- shared method DRISORockRidgeExtensions as string
- shared method DRMaxBurnSpeedKey as string
- shared method DRNextWritableAddressKey as string
- shared method DRPreGapIsRequiredKey as string
- shared method DRPreGapLengthKey as string
- shared method DRPublisher as string
- shared method DRSCMSCopyrightFree as string
- shared method DRSCMSCopyrightProtectedCopy as string
- shared method DRSCMSCopyrightProtectedOriginal as string
- shared method DRSerialCopyManagementStateKey as string
- shared method DRSessionFormatKey as string
- shared method DRSessionNumberKey as string
- shared method DRSubchannelDataFormKey as string
- shared method DRSubchannelDataFormNone as string
- shared method DRSubchannelDataFormPack as string
- shared method DRSubchannelDataFormRaw as string
- shared method DRSuppressMacSpecificFiles as string
- shared method DRSystemIdentifier as string
- shared method DRTrackIsEmptyKey as string
- shared method DRTrackISRCKey as string
- shared method DRTrackLengthKey as string
- shared method DRTrackModeKey as string
- shared method DRTrackNumberKey as string
- shared method DRTrackPacketSizeKey as string
- shared method DRTrackPacketTypeFixed as string
- shared method DRTrackPacketTypeKey as string
- shared method DRTrackPacketTypeVariable as string
- shared method DRTrackStartAddressKey as string
- shared method DRTrackTypeClosed as string
- shared method DRTrackTypeIncomplete as string
- shared method DRTrackTypeInvisible as string
- shared method DRTrackTypeKey as string
- shared method DRTrackTypeReserved as string
- shared method DRVerificationTypeChecksum as string
- shared method DRVerificationTypeKey as string
- shared method DRVerificationTypeNone as string
- shared method DRVerificationTypeProduceAgain as string
- shared method DRVerificationTypeReceiveData as string
- shared method DRVolumeCheckedDate as string
- shared method DRVolumeCreationDate as string
- shared method DRVolumeEffectiveDate as string
- shared method DRVolumeExpirationDate as string
- shared method DRVolumeModificationDate as string
- shared method DRVolumeSet as string
- shared method trackForAudioFile(path as folderitem) as DRTrackMBS
- shared method trackForAudioFile(path as string) as DRTrackMBS
- shared method trackForRootFolder(folder as DRFolderMBS) as DRTrackMBS
- shared method trackForRootFolder(folder as folderitem) as DRTrackMBS
- 30 constants
Constants
Constant | Value | Description |
---|---|---|
DRFlagSubchannelDataRequested | 2 | A flag passed to producePreGapForTrack or produceDataForTrack. Indicates that the blockSize passed in includes room for subchannel data. more |
kDRBlockSizeAudio | 2352 |
One of the block size constants.
Audio data. |
kDRBlockSizeDVDData | 2048 |
One of the block size constants.
DVD data. |
kDRBlockSizeMode1Data | 2048 |
One of the block size constants.
Mode 1 data. |
kDRBlockSizeMode2Data | 2332 |
One of the block size constants.
Mode 2 data. Photo CD and CD-i use this. |
kDRBlockSizeMode2Form1Data | 2048 |
One of the block size constants.
Mode 2 Form 1 data. |
kDRBlockSizeMode2Form2Data | 2324 |
One of the block size constants.
Mode 2 Form 2 data. |
kDRBlockTypeAudio | 0 |
One of the block type constants.
Audio data. |
kDRBlockTypeDVDData | 8 |
One of the block type constants.
DVD data. |
kDRBlockTypeMode1Data | 8 |
One of the block type constants.
Mode 1 data. |
kDRBlockTypeMode2Data | 13 |
One of the block type constants.
Mode 2 data. Photo CD and CD-i use this. |
kDRBlockTypeMode2Form1Data | 10 |
One of the block type constants.
Mode 2 Form 1 data. |
kDRBlockTypeMode2Form2Data | 12 |
One of the block type constants.
Mode 2 Form 2 data. |
kDRDataFormAudio | 0 |
One of the data form constants.
Audio data. |
kDRDataFormDVDData | 16 |
One of the data form constants.
DVD data. |
kDRDataFormMode1Data | 16 |
One of the data form constants.
Mode 1 data. |
kDRDataFormMode2Data | 32 |
One of the data form constants.
Mode 2 data. Photo CD and CD-i use this. |
kDRDataFormMode2Form1Data | 32 |
One of the data form constants.
Mode 2 Form 1 data. |
kDRDataFormMode2Form2Data | 32 |
One of the data form constants.
Mode 2 Form 2 data. |
kDRSessionFormatAudio | 0 |
One of the constants for the session format.
Audio data. |
kDRSessionFormatCDI | 16 |
One of the constants for the session format.
CD-I disc. |
kDRSessionFormatCDXA | 32 |
One of the constants for the session format.
CD-ROM XA disc. |
kDRSessionFormatDVDData | 0 |
One of the constants for the session format.
DVD data. |
kDRSessionFormatMode1Data | 0 |
One of the constants for the session format.
Mode 1 data. |
kDRTrackMode1Data | 4 |
One of the track mode constants.
Mode 1 data. |
kDRTrackMode2Data | 4 |
One of the track mode constants.
Mode 2 data. Photo CD and CD-i use this. |
kDRTrackMode2Form1Data | 4 |
One of the track mode constants.
Mode 2 Form 1 data. |
kDRTrackMode2Form2Data | 4 |
One of the track mode constants.
Mode 2 Form 2 data. |
kDRTrackModeAudio | 0 |
One of the track mode constants.
Audio data. |
kDRTrackModeDVDData | 5 |
One of the track mode constants.
DVD data. |
This class has no sub classes.
Some methods using this class:
- DRBurnMBS.writeLayout(track as DRTrackMBS)
- DRBurnMBS.writeLayout(tracks() as DRTrackMBS)
- DRBurnProgressPanelMBS.beginProgressPanelForBurn(burn as DRBurnMBS, track as DRTrackMBS)
- DRBurnProgressPanelMBS.beginProgressPanelForBurn(burn as DRBurnMBS, tracks() as DRTrackMBS)
- DRBurnProgressPanelMBS.beginProgressSheetForBurn(burn as DRBurnMBS, track as DRTrackMBS, docWindow as NSWindowMBS)
- DRBurnProgressPanelMBS.beginProgressSheetForBurn(burn as DRBurnMBS, tracks() as DRTrackMBS, docWindow as NSWindowMBS)
Some examples using this class:
- /MacCocoa/DiscRecording/DataBurn
- /MacCocoa/DiscRecording/DataBurn Image
- /MacCocoa/DiscRecording/DataBurn UDF
- /MacCocoa/DiscRecording/DataBurn with Events
- /MacCocoa/DiscRecording/DataBurn with Events and Notification
- /MacCocoa/DiscRecording/DataBurn with File Events
- /MacCocoa/DiscRecording/DataBurn with links
- /MacCocoa/DiscRecording/DataBurn with Track Events
- /MacCocoa/DiscRecording/DataBurn with Track Events with ISRC and MCN
Blog Entries
- MBS REALbasic Plugins Version 10.4 release notes
- MBS REALbasic Plugins, version 10.4pr7
- MBS Plugins 10.3 Release Notes
Xojo Developer Magazine
- 6.1, page 47: Finding Work, How to Find Work as a REALbasic Developer
- 6.1, pages 29 to 31: DiscRecording, How to burn a CD from REALbasic on Mac OS X by Christian Schmitz
The items on this page are in the following plugins: MBS MacControls Plugin.
DRSetupPanelMBS - DVDPlaybackMBS