Mac OS 9
CmpSoundHeader Struct Reference

Data Fields

Ptr samplePtr
 
unsigned long numChannels
 
UnsignedFixed sampleRate
 
unsigned long loopStart
 
unsigned long loopEnd
 
UInt8 encode
 
UInt8 baseFrequency
 
unsigned long numFrames
 
extended80 AIFFSampleRate
 
Ptr markerChunk
 
OSType format
 
unsigned long futureUse2
 
StateBlockPtr stateVars
 
LeftOverBlockPtr leftOverSamples
 
short compressionID
 
unsigned short packetSize
 
unsigned short snthID
 
unsigned short sampleSize
 
UInt8 sampleArea [1]
 

Field Documentation

◆ AIFFSampleRate

extended80 CmpSoundHeader::AIFFSampleRate

length in frames ( packetFrames or sampleFrames )

◆ baseFrequency

UInt8 CmpSoundHeader::baseFrequency

data structure used , stdSH, extSH, or cmpSH

◆ compressionID

short CmpSoundHeader::compressionID

used to save truncated samples between compression calls

◆ encode

UInt8 CmpSoundHeader::encode

loopEnd of sound before compression

◆ format

OSType CmpSoundHeader::format

sync track

◆ futureUse2

unsigned long CmpSoundHeader::futureUse2

data format type, was futureUse1

◆ leftOverSamples

LeftOverBlockPtr CmpSoundHeader::leftOverSamples

pointer to State Block

◆ loopEnd

unsigned long CmpSoundHeader::loopEnd

loopStart of sound before compression

◆ loopStart

unsigned long CmpSoundHeader::loopStart

sample rate in Apples Fixed point representation

◆ markerChunk

Ptr CmpSoundHeader::markerChunk

IEEE sample rate

◆ numChannels

unsigned long CmpSoundHeader::numChannels

if nil then samples are in sample area

◆ numFrames

unsigned long CmpSoundHeader::numFrames

same meaning as regular SoundHeader

◆ packetSize

unsigned short CmpSoundHeader::packetSize

0 means no compression, non zero means compressionID

◆ sampleArea

UInt8 CmpSoundHeader::sampleArea[1]

number of bits in non-compressed sample

◆ sampleRate

UnsignedFixed CmpSoundHeader::sampleRate

number of channels i.e. mono = 1

◆ sampleSize

unsigned short CmpSoundHeader::sampleSize

resource ID of Sound Manager snth that contains NRT C/E

◆ snthID

unsigned short CmpSoundHeader::snthID

number of bits in compressed sample packet

◆ stateVars

StateBlockPtr CmpSoundHeader::stateVars

reserved by Apple


The documentation for this struct was generated from the following file: