1995-10-09 20:12:22 -03:00
|
|
|
# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h'
|
1995-03-10 10:42:57 -04:00
|
|
|
|
1995-06-06 10:08:40 -03:00
|
|
|
soundListRsrc = 'snd '
|
|
|
|
rate44khz = 0xAC440000L
|
|
|
|
rate22050hz = 0x56220000L
|
|
|
|
rate22khz = 0x56EE8BA3L
|
|
|
|
rate11khz = 0x2B7745D1L
|
|
|
|
rate11025hz = 0x2B110000
|
1995-01-30 07:53:55 -04:00
|
|
|
squareWaveSynth = 1
|
|
|
|
waveTableSynth = 3
|
|
|
|
sampledSynth = 5
|
|
|
|
MACE3snthID = 11
|
|
|
|
MACE6snthID = 13
|
1995-06-06 10:08:40 -03:00
|
|
|
kMiddleC = 60
|
|
|
|
kSimpleBeepID = 1
|
|
|
|
kFullVolume = 0x0100
|
|
|
|
kNoVolume = 0
|
1995-01-30 07:53:55 -04:00
|
|
|
nullCmd = 0
|
|
|
|
initCmd = 1
|
|
|
|
freeCmd = 2
|
|
|
|
quietCmd = 3
|
|
|
|
flushCmd = 4
|
|
|
|
reInitCmd = 5
|
|
|
|
waitCmd = 10
|
|
|
|
pauseCmd = 11
|
|
|
|
resumeCmd = 12
|
|
|
|
callBackCmd = 13
|
|
|
|
syncCmd = 14
|
|
|
|
availableCmd = 24
|
|
|
|
versionCmd = 25
|
|
|
|
totalLoadCmd = 26
|
|
|
|
loadCmd = 27
|
|
|
|
freqDurationCmd = 40
|
|
|
|
restCmd = 41
|
|
|
|
freqCmd = 42
|
|
|
|
ampCmd = 43
|
|
|
|
timbreCmd = 44
|
|
|
|
getAmpCmd = 45
|
1995-06-06 10:08:40 -03:00
|
|
|
volumeCmd = 46
|
|
|
|
getVolumeCmd = 47
|
1995-01-30 07:53:55 -04:00
|
|
|
waveTableCmd = 60
|
|
|
|
phaseCmd = 61
|
|
|
|
soundCmd = 80
|
|
|
|
bufferCmd = 81
|
|
|
|
rateCmd = 82
|
|
|
|
continueCmd = 83
|
|
|
|
doubleBufferCmd = 84
|
|
|
|
getRateCmd = 85
|
1995-06-06 10:08:40 -03:00
|
|
|
rateMultiplierCmd = 86
|
|
|
|
getRateMultiplierCmd = 87
|
1995-01-30 07:53:55 -04:00
|
|
|
sizeCmd = 90
|
|
|
|
convertCmd = 91
|
|
|
|
stdQLength = 128
|
|
|
|
dataOffsetFlag = 0x8000
|
|
|
|
waveInitChannelMask = 0x07
|
|
|
|
waveInitChannel0 = 0x04
|
|
|
|
waveInitChannel1 = 0x05
|
|
|
|
waveInitChannel2 = 0x06
|
|
|
|
waveInitChannel3 = 0x07
|
|
|
|
initChanLeft = 0x0002
|
|
|
|
initChanRight = 0x0003
|
|
|
|
initNoInterp = 0x0004
|
|
|
|
initNoDrop = 0x0008
|
|
|
|
initMono = 0x0080
|
|
|
|
initStereo = 0x00C0
|
|
|
|
initMACE3 = 0x0300
|
|
|
|
initMACE6 = 0x0400
|
1995-06-06 10:08:40 -03:00
|
|
|
initPanMask = 0x0003
|
|
|
|
initSRateMask = 0x0030
|
|
|
|
initStereoMask = 0x00C0
|
|
|
|
initCompMask = 0xFF00
|
|
|
|
kUseOptionalOutputDevice = -1
|
1995-01-30 07:53:55 -04:00
|
|
|
notCompressed = 0
|
1995-06-06 10:08:40 -03:00
|
|
|
fixedCompression = -1
|
|
|
|
variableCompression = -2
|
1995-01-30 07:53:55 -04:00
|
|
|
twoToOne = 1
|
|
|
|
eightToThree = 2
|
|
|
|
threeToOne = 3
|
|
|
|
sixToOne = 4
|
1995-06-06 10:08:40 -03:00
|
|
|
stdSH = 0x00
|
|
|
|
extSH = 0xFF
|
|
|
|
cmpSH = 0xFE
|
1995-01-30 07:53:55 -04:00
|
|
|
outsideCmpSH = 0
|
|
|
|
insideCmpSH = 1
|
|
|
|
aceSuccess = 0
|
|
|
|
aceMemFull = 1
|
|
|
|
aceNilBlock = 2
|
|
|
|
aceBadComp = 3
|
|
|
|
aceBadEncode = 4
|
|
|
|
aceBadDest = 5
|
|
|
|
aceBadCmd = 6
|
|
|
|
sixToOnePacketSize = 8
|
|
|
|
threeToOnePacketSize = 16
|
|
|
|
stateBlockSize = 64
|
|
|
|
leftOverBlockSize = 32
|
|
|
|
firstSoundFormat = 0x0001
|
|
|
|
secondSoundFormat = 0x0002
|
|
|
|
dbBufferReady = 0x00000001
|
|
|
|
dbLastBuffer = 0x00000004
|
|
|
|
sysBeepDisable = 0x0000
|
|
|
|
unitTypeNoSelection = 0xFFFF
|
|
|
|
unitTypeSeconds = 0x0000
|