26 #ifndef __COMPONENTS__
51 #if PRAGMA_STRUCT_ALIGN
52 #pragma options align = mac68k
53 #elif PRAGMA_STRUCT_PACKPUSH
55 #elif PRAGMA_STRUCT_PACK
108 #define twelfthRootTwo 1.05946309435
113 FOUR_CHAR_CODE(
'snd ')
123 rate48khz = (long)0xBB800000,
140 #if CALL_NOT_IN_CARBON
170 dataOffsetFlag = 0x8000
175 kUseOptionalOutputDevice = -1
191 sixToOnePacketSize = 8,
192 threeToOnePacketSize = 16
198 leftOverBlockSize = 32
203 firstSoundFormat = 0x0001,
207 #if CALL_NOT_IN_CARBON
210 dbBufferReady = 0x00000001,
218 sysBeepDisable = 0x0000,
220 sysBeepSynchronous = (1 << 1)
225 unitTypeNoSelection = 0xFFFF,
258 rateMultiplierCmd = 86,
259 getRateMultiplierCmd = 87
262 #if CALL_NOT_IN_CARBON
271 freqDurationCmd = 40,
281 doubleBufferCmd = 84,
293 waveInitChannelMask = 0x07,
294 waveInitChannel0 = 0x04,
295 waveInitChannel1 = 0x05,
296 waveInitChannel2 = 0x06,
297 waveInitChannel3 = 0x07,
298 initChan0 = waveInitChannel0,
299 initChan1 = waveInitChannel1,
300 initChan2 = waveInitChannel2,
301 initChan3 = waveInitChannel3
321 initChanLeft = 0x0002,
338 siActiveChannels = FOUR_CHAR_CODE(
'chac'),
343 siChannelAvailable = FOUR_CHAR_CODE(
'chav'),
345 FOUR_CHAR_CODE(
'cmav'),
347 FOUR_CHAR_CODE(
'cpct'),
351 FOUR_CHAR_CODE(
'cnam'),
354 FOUR_CHAR_CODE(
'cprt'),
360 FOUR_CHAR_CODE(
'dcon'),
366 FOUR_CHAR_CODE(
'eqlo'),
368 FOUR_CHAR_CODE(
'eqrs'),
371 FOUR_CHAR_CODE(
'eqtg'),
373 FOUR_CHAR_CODE(
'eqtc'),
375 siHardwareBalanceSteps = FOUR_CHAR_CODE(
'hbls'),
376 siHardwareBass = FOUR_CHAR_CODE(
'hbas'),
377 siHardwareBassSteps = FOUR_CHAR_CODE(
'hbst'),
378 siHardwareBusy = FOUR_CHAR_CODE(
'hwbs'),
384 siHardwareTrebleSteps = FOUR_CHAR_CODE(
'hwts'),
385 siHardwareVolume = FOUR_CHAR_CODE(
'hvol'),
387 FOUR_CHAR_CODE(
'hstp'),
391 FOUR_CHAR_CODE(
'hdst'),
399 siMonitorSource = FOUR_CHAR_CODE(
'mons'),
400 siNumberChannels = FOUR_CHAR_CODE(
'chan'),
404 FOUR_CHAR_CODE(
'inav'),
408 FOUR_CHAR_CODE(
'psmx'),
410 FOUR_CHAR_CODE(
'prmx'),
419 FOUR_CHAR_CODE(
'sucd'),
421 FOUR_CHAR_CODE(
'sumd'),
423 FOUR_CHAR_CODE(
'flap'),
425 siUseThisSoundClock = FOUR_CHAR_CODE(
428 FOUR_CHAR_CODE(
'smut'),
430 FOUR_CHAR_CODE(
'svol'),
432 siSSpLocalization = FOUR_CHAR_CODE(
'3dif'),
433 siSSpSpeakerSetup = FOUR_CHAR_CODE(
'3dst'),
434 siStereoInputGain = FOUR_CHAR_CODE(
'sgai'),
451 FOUR_CHAR_CODE(
'olte')
456 siCloseDriver = FOUR_CHAR_CODE(
'clos'),
458 FOUR_CHAR_CODE(
'init'),
461 FOUR_CHAR_CODE(
'user')
476 kDAVInSource = FOUR_CHAR_CODE(
'idav'),
490 kNoSoundComponentType = FOUR_CHAR_CODE(
'****'),
491 kSoundComponentType = FOUR_CHAR_CODE(
'sift'),
493 FOUR_CHAR_CODE(
'nift'),
499 kMixer8SubType = FOUR_CHAR_CODE(
'mixb'),
509 FOUR_CHAR_CODE(
'awac'),
511 FOUR_CHAR_CODE(
'awgc'),
515 FOUR_CHAR_CODE(
'whit'),
521 FOUR_CHAR_CODE(
'dssn'),
526 kSoundDecompressor = FOUR_CHAR_CODE(
'sdec'),
527 kAudioComponentType =
528 FOUR_CHAR_CODE(
'adio'),
530 kAudioVisionSpeakerSubType = FOUR_CHAR_CODE(
'telc'),
531 kAudioVisionHeadphoneSubType = FOUR_CHAR_CODE(
'telh'),
532 kPhilipsFaderSubType = FOUR_CHAR_CODE(
'tvav'),
533 kSGSToneSubType = FOUR_CHAR_CODE(
'sgs0'),
534 kSoundEffectsType = FOUR_CHAR_CODE(
'snfx'),
542 kSoundNotCompressed = FOUR_CHAR_CODE(
'NONE'),
551 FOUR_CHAR_CODE(
'23ni'),
570 FOUR_CHAR_CODE(
'.mp3')
573 #if TARGET_RT_LITTLE_ENDIAN
592 k8BitRawIn = (1 << 0),
595 kStereoIn = (1 << 3),
596 k8BitRawOut = (1 << 8),
597 k8BitTwosOut = (1 << 9),
598 k16BitOut = (1 << 10),
599 kStereoOut = (1 << 11),
600 kReverse = (1L << 16),
602 kCreateSoundSource = (1L << 18),
603 kVMAwareness = (1L << 21),
611 kSourcePaused = (1 << 0),
612 kPassThrough = (1L << 16),
613 kNoSoundComponentChain = (1L << 17)
619 kNoMixing = (1 << 0),
646 kBestQuality = (1 << 0)
652 kInputMask = 0x000000FF,
662 kAudioFormatAtomType = FOUR_CHAR_CODE(
'frma'),
663 kAudioEndianAtomType = FOUR_CHAR_CODE(
'enda'),
664 kAudioVBRAtomType = FOUR_CHAR_CODE(
'vbra'),
665 kAudioTerminatorAtomType = 0
671 kAVDisplayHeadphoneRemove =
703 siCDQuality = FOUR_CHAR_CODE(
'cd '),
713 siDeviceIsConnected = 1,
723 kSoundConverterDidntFillBuffer =
735 kExtendedSoundSampleCountNotValid =
785 #if !OPAQUE_UPP_TYPES
788 uppSndCallBackProcInfo = 0x000003C0
794 (ProcPtr)(userRoutine), uppSndCallBackProcInfo, GetCurrentArchitecture());
797 #define NewSndCallBackUPP(userRoutine) \
799 NewRoutineDescriptor((ProcPtr)(userRoutine), uppSndCallBackProcInfo, \
800 GetCurrentArchitecture())
814 #if !OPAQUE_UPP_TYPES
821 #define DisposeSndCallBackUPP(userUPP) DisposeRoutineDescriptor(userUPP)
835 SndCallBackUPP userUPP);
836 #if !OPAQUE_UPP_TYPES
839 SndCallBackUPP userUPP)
841 CALL_TWO_PARAMETER_UPP(userUPP, uppSndCallBackProcInfo, chan,
cmd);
844 #define InvokeSndCallBackUPP(chan, cmd, userUPP) \
845 CALL_TWO_PARAMETER_UPP((userUPP), uppSndCallBackProcInfo, (chan), (cmd))
849 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
851 #define NewSndCallBackProc(userRoutine) NewSndCallBackUPP(userRoutine)
852 #define CallSndCallBackProc(userRoutine, chan, cmd) \
853 InvokeSndCallBackUPP(chan, cmd, userRoutine)
866 SInt8 sampleArea[32];
872 unsigned short modNumber;
958 unsigned short sampleSize;
986 kScheduledSoundDoScheduled = 1 << 0,
987 kScheduledSoundDoCallBack = 1 << 1,
988 kScheduledSoundExtendedHdr = 1 << 2
996 short callBackParam1;
1007 short callBackParam1;
1008 long callBackParam2;
1019 short smNumChannels;
1026 UnsignedFixed scStartTime;
1027 UnsignedFixed scEndTime;
1028 UnsignedFixed scCurrentTime;
1033 unsigned long scChannelAttributes;
1041 UnsignedFixed selStart;
1042 UnsignedFixed selEnd;
1046 #if CALL_NOT_IN_CARBON
1052 SInt8 dbSoundData[1];
1061 #if CALL_NOT_IN_CARBON
1072 #if !OPAQUE_UPP_TYPES
1075 uppSndDoubleBackProcInfo = 0x000003C0
1081 uppSndDoubleBackProcInfo,
1082 GetCurrentArchitecture());
1085 #define NewSndDoubleBackUPP(userRoutine) \
1086 (SndDoubleBackUPP) \
1087 NewRoutineDescriptor((ProcPtr)(userRoutine), uppSndDoubleBackProcInfo, \
1088 GetCurrentArchitecture())
1102 #if !OPAQUE_UPP_TYPES
1109 #define DisposeSndDoubleBackUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1124 SndDoubleBackUPP userUPP);
1125 #if !OPAQUE_UPP_TYPES
1129 SndDoubleBackUPP userUPP)
1131 CALL_TWO_PARAMETER_UPP(userUPP, uppSndDoubleBackProcInfo, channel,
1135 #define InvokeSndDoubleBackUPP(channel, doubleBufferPtr, userUPP) \
1136 CALL_TWO_PARAMETER_UPP((userUPP), uppSndDoubleBackProcInfo, (channel), \
1143 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1145 #define NewSndDoubleBackProc(userRoutine) NewSndDoubleBackUPP(userRoutine)
1146 #define CallSndDoubleBackProc(userRoutine, channel, doubleBufferPtr) \
1147 InvokeSndDoubleBackUPP(channel, doubleBufferPtr, userRoutine)
1152 short dbhNumChannels;
1153 short dbhSampleSize;
1154 short dbhCompressionID;
1155 short dbhPacketSize;
1156 UnsignedFixed dbhSampleRate;
1158 SndDoubleBackUPP dbhDoubleBack;
1164 short dbhNumChannels;
1165 short dbhSampleSize;
1166 short dbhCompressionID;
1167 short dbhPacketSize;
1168 UnsignedFixed dbhSampleRate;
1170 SndDoubleBackUPP dbhDoubleBack;
1190 UnsignedFixed sampleRate;
1239 short compressionID;
1240 unsigned short samplesPerPacket;
1241 unsigned short bytesPerPacket;
1242 unsigned short bytesPerFrame;
1243 unsigned short bytesPerSample;
1244 unsigned short futureUse1;
1265 SoundConverterFillBufferDataUPP;
1280 long capabilitiesFlags;
1321 UnsignedFixedPtr frequency;
1332 (
SPBPtr inParamPtr, Ptr dataBuffer,
1333 short peakAmplitude,
long sampleSize));
1363 #if !OPAQUE_UPP_TYPES
1366 uppSoundParamProcInfo = 0x000000D0
1372 (ProcPtr)(userRoutine), uppSoundParamProcInfo, GetCurrentArchitecture());
1375 #define NewSoundParamUPP(userRoutine) \
1376 (SoundParamUPP) NewRoutineDescriptor( \
1377 (ProcPtr)(userRoutine), uppSoundParamProcInfo, GetCurrentArchitecture())
1389 SoundConverterFillBufferDataUPP
1391 SoundConverterFillBufferDataProcPtr userRoutine);
1392 #if !OPAQUE_UPP_TYPES
1395 uppSoundConverterFillBufferDataProcInfo = 0x000003D0
1399 SoundConverterFillBufferDataProcPtr userRoutine)
1402 (ProcPtr)(userRoutine), uppSoundConverterFillBufferDataProcInfo,
1403 GetCurrentArchitecture());
1406 #define NewSoundConverterFillBufferDataUPP(userRoutine) \
1407 (SoundConverterFillBufferDataUPP) NewRoutineDescriptor( \
1408 (ProcPtr)(userRoutine), uppSoundConverterFillBufferDataProcInfo, \
1409 GetCurrentArchitecture())
1423 #if !OPAQUE_UPP_TYPES
1426 uppSIInterruptProcInfo = 0x1C579802
1433 (ProcPtr)(userRoutine), uppSIInterruptProcInfo, GetCurrentArchitecture());
1436 #define NewSIInterruptUPP(userRoutine) \
1438 NewRoutineDescriptor((ProcPtr)(userRoutine), uppSIInterruptProcInfo, \
1439 GetCurrentArchitecture())
1453 #if !OPAQUE_UPP_TYPES
1456 uppSICompletionProcInfo = 0x000000C0
1462 uppSICompletionProcInfo,
1463 GetCurrentArchitecture());
1466 #define NewSICompletionUPP(userRoutine) \
1468 NewRoutineDescriptor((ProcPtr)(userRoutine), uppSICompletionProcInfo, \
1469 GetCurrentArchitecture())
1483 #if !OPAQUE_UPP_TYPES
1490 #define DisposeSoundParamUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1504 #if !OPAQUE_UPP_TYPES
1507 SoundConverterFillBufferDataUPP userUPP)
1512 #define DisposeSoundConverterFillBufferDataUPP(userUPP) \
1513 DisposeRoutineDescriptor(userUPP)
1527 #if !OPAQUE_UPP_TYPES
1534 #define DisposeSIInterruptUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1548 #if !OPAQUE_UPP_TYPES
1555 #define DisposeSICompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1569 #if !OPAQUE_UPP_TYPES
1572 SoundParamUPP userUPP)
1574 return (
Boolean)CALL_ONE_PARAMETER_UPP(userUPP, uppSoundParamProcInfo,
pb);
1577 #define InvokeSoundParamUPP(pb, userUPP) \
1578 (Boolean) CALL_ONE_PARAMETER_UPP((userUPP), uppSoundParamProcInfo, (pb))
1592 SoundConverterFillBufferDataUPP userUPP);
1593 #if !OPAQUE_UPP_TYPES
1597 SoundConverterFillBufferDataUPP userUPP)
1599 return (
Boolean)CALL_TWO_PARAMETER_UPP(
1600 userUPP, uppSoundConverterFillBufferDataProcInfo, data, refCon);
1603 #define InvokeSoundConverterFillBufferDataUPP(data, refCon, userUPP) \
1604 (Boolean) CALL_TWO_PARAMETER_UPP( \
1605 (userUPP), uppSoundConverterFillBufferDataProcInfo, (data), (refCon))
1619 long sampleSize, SIInterruptUPP userUPP);
1620 #if !OPAQUE_UPP_TYPES && \
1621 (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1624 short peakAmplitude,
long sampleSize,
1625 SIInterruptUPP userUPP)
1627 CALL_FOUR_PARAMETER_UPP(userUPP, uppSIInterruptProcInfo, inParamPtr,
1628 dataBuffer, peakAmplitude, sampleSize);
1631 #define InvokeSIInterruptUPP(inParamPtr, dataBuffer, peakAmplitude, \
1632 sampleSize, userUPP) \
1633 CALL_FOUR_PARAMETER_UPP((userUPP), uppSIInterruptProcInfo, (inParamPtr), \
1634 (dataBuffer), (peakAmplitude), (sampleSize))
1648 #if !OPAQUE_UPP_TYPES
1652 CALL_ONE_PARAMETER_UPP(userUPP, uppSICompletionProcInfo, inParamPtr);
1655 #define InvokeSICompletionUPP(inParamPtr, userUPP) \
1656 CALL_ONE_PARAMETER_UPP((userUPP), uppSICompletionProcInfo, (inParamPtr))
1660 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1662 #define NewSoundParamProc(userRoutine) NewSoundParamUPP(userRoutine)
1663 #define NewSoundConverterFillBufferDataProc(userRoutine) \
1664 NewSoundConverterFillBufferDataUPP(userRoutine)
1665 #define NewSIInterruptProc(userRoutine) NewSIInterruptUPP(userRoutine)
1666 #define NewSICompletionProc(userRoutine) NewSICompletionUPP(userRoutine)
1667 #define CallSoundParamProc(userRoutine, pb) InvokeSoundParamUPP(pb, userRoutine)
1668 #define CallSoundConverterFillBufferDataProc(userRoutine, data, refCon) \
1669 InvokeSoundConverterFillBufferDataUPP(data, refCon, userRoutine)
1670 #define CallSIInterruptProc(userRoutine, inParamPtr, dataBuffer, \
1671 peakAmplitude, sampleSize) \
1672 InvokeSIInterruptUPP(inParamPtr, dataBuffer, peakAmplitude, sampleSize, \
1674 #define CallSICompletionProc(userRoutine, inParamPtr) \
1675 InvokeSICompletionUPP(inParamPtr, userRoutine)
1679 typedef STACK_UPP_TYPE(FilePlayCompletionProcPtr) FilePlayCompletionUPP;
1680 #if CALL_NOT_IN_CARBON
1689 FilePlayCompletionUPP
1691 #if !OPAQUE_UPP_TYPES
1694 uppFilePlayCompletionProcInfo = 0x000000C0
1697 inline FilePlayCompletionUPP
1701 (ProcPtr)(userRoutine), uppFilePlayCompletionProcInfo,
1702 GetCurrentArchitecture());
1705 #define NewFilePlayCompletionUPP(userRoutine) \
1706 (FilePlayCompletionUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
1707 uppFilePlayCompletionProcInfo, \
1708 GetCurrentArchitecture())
1722 #if !OPAQUE_UPP_TYPES
1729 #define DisposeFilePlayCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1743 #if !OPAQUE_UPP_TYPES
1746 FilePlayCompletionUPP userUPP)
1748 CALL_ONE_PARAMETER_UPP(userUPP, uppFilePlayCompletionProcInfo, chan);
1751 #define InvokeFilePlayCompletionUPP(chan, userUPP) \
1752 CALL_ONE_PARAMETER_UPP((userUPP), uppFilePlayCompletionProcInfo, (chan))
1758 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1760 #define NewFilePlayCompletionProc(userRoutine) \
1761 NewFilePlayCompletionUPP(userRoutine)
1762 #define CallFilePlayCompletionProc(userRoutine, chan) \
1763 InvokeFilePlayCompletionUPP(chan, userRoutine)
1816 SndCallBackUPP userRoutine);
1841 #if CALL_NOT_IN_CARBON
1851 SndAddModifier(
SndChannelPtr chan, Ptr modifier,
short id,
long init);
1857 #if CALL_NOT_IN_CARBON
1896 #if CALL_NOT_IN_CARBON
1907 long bufferSize,
void *theBuffer,
1909 FilePlayCompletionUPP theCompletion,
Boolean async);
2028 #if CALL_NOT_IN_CARBON
2075 Comp3to1(
const void *inBuffer,
void *outBuffer,
unsigned long cnt,
2077 unsigned long numChannels,
unsigned long whichChannel);
2088 Exp1to3(
const void *inBuffer,
void *outBuffer,
unsigned long cnt,
2090 unsigned long numChannels,
unsigned long whichChannel);
2101 Comp6to1(
const void *inBuffer,
void *outBuffer,
unsigned long cnt,
2103 unsigned long numChannels,
unsigned long whichChannel);
2114 Exp1to6(
const void *inBuffer,
void *outBuffer,
unsigned long cnt,
2116 unsigned long numChannels,
unsigned long whichChannel);
2186 UnsignedFixed divisor);
2335 unsigned long *inputFrames,
2336 unsigned long *inputBytes,
2337 unsigned long *outputBytes);
2360 unsigned long inputFrames,
void *outputPtr,
2361 unsigned long *outputFrames,
2362 unsigned long *outputBytes);
2374 unsigned long *outputFrames,
2375 unsigned long *outputBytes);
2411 SoundConverterFillBufferDataUPP fillBufferDataUPP,
2412 void *fillBufferDataRefCon,
void *outputBuffer,
2413 unsigned long outputBufferByteSize,
2414 unsigned long *bytesWritten,
2415 unsigned long *framesWritten,
2416 unsigned long *outputFlags);
2538 OSType selector,
void *infoPtr);
2550 OSType selector,
void *infoPtr);
2604 kSoundComponentInitOutputDeviceSelect = 0x0001,
2605 kSoundComponentSetSourceSelect = 0x0002,
2606 kSoundComponentGetSourceSelect = 0x0003,
2607 kSoundComponentGetSourceDataSelect = 0x0004,
2608 kSoundComponentSetOutputSelect = 0x0005,
2609 kSoundComponentAddSourceSelect = 0x0101,
2610 kSoundComponentRemoveSourceSelect = 0x0102,
2611 kSoundComponentGetInfoSelect = 0x0103,
2612 kSoundComponentSetInfoSelect = 0x0104,
2613 kSoundComponentStartSourceSelect = 0x0105,
2614 kSoundComponentStopSourceSelect = 0x0106,
2615 kSoundComponentPauseSourceSelect = 0x0107,
2616 kSoundComponentPlaySourceBufferSelect = 0x0108
2624 #if CALL_NOT_IN_CARBON
2770 kAudioGetVolumeSelect = 0x0000,
2771 kAudioSetVolumeSelect = 0x0001,
2772 kAudioGetMuteSelect = 0x0002,
2773 kAudioSetMuteSelect = 0x0003,
2774 kAudioSetToDefaultsSelect = 0x0004,
2775 kAudioGetInfoSelect = 0x0005,
2776 kAudioGetBassSelect = 0x0006,
2777 kAudioSetBassSelect = 0x0007,
2778 kAudioGetTrebleSelect = 0x0008,
2779 kAudioSetTrebleSelect = 0x0009,
2780 kAudioGetOutputDeviceSelect = 0x000A,
2781 kAudioMuteOnEventSelect = 0x0081
2787 kDelegatedSoundComponentSelectors = 0x0100
2828 #if CALL_NOT_IN_CARBON
2909 #if CALL_NOT_IN_CARBON
3014 unsigned long *totalSamplesToRecord,
3015 unsigned long *numberOfSamplesRecorded,
3016 unsigned long *totalMsecsToRecord,
3017 unsigned long *numberOfMsecsRecorded);
3102 UnsignedFixed sampleRate,
short sampleSize,
3103 OSType compressionType,
short baseNote,
unsigned long numBytes,
3144 short sampleSize, OSType compressionType,
3145 unsigned long numBytes,
unsigned long numFrames);
3158 unsigned long *numFrames,
unsigned long *dataOffset);
3170 unsigned long *numFrames,
unsigned long *dataOffset);
3172 #if !TARGET_OS_MAC || TARGET_API_MAC_CARBON
3184 SICCompletionProcPtr ioCompletion;
3188 unsigned long ioReqCount;
3189 unsigned long ioActCount;
3259 unsigned long *totalSamplesToRecord,
3260 unsigned long *numberOfSamplesRecorded);
3298 kSndInputReadAsyncSelect = 0x0001,
3299 kSndInputReadSyncSelect = 0x0002,
3300 kSndInputPauseRecordingSelect = 0x0003,
3301 kSndInputResumeRecordingSelect = 0x0004,
3302 kSndInputStopRecordingSelect = 0x0005,
3303 kSndInputGetStatusSelect = 0x0006,
3304 kSndInputGetDeviceInfoSelect = 0x0007,
3305 kSndInputSetDeviceInfoSelect = 0x0008,
3306 kSndInputInitHardwareSelect = 0x0009
3310 #if PRAGMA_STRUCT_ALIGN
3311 #pragma options align = reset
3312 #elif PRAGMA_STRUCT_PACKPUSH
3314 #elif PRAGMA_STRUCT_PACK
3318 #ifdef PRAGMA_IMPORT_OFF
3321 #pragma import reset
3330 * \mac_os_x in version 10.0 and
3350 kSndInputReadAsyncSelect = 0x0001,
3351 kSndInputReadSyncSelect = 0x0002,
3352 kSndInputPauseRecordingSelect = 0x0003,
3353 kSndInputResumeRecordingSelect = 0x0004,
3354 kSndInputStopRecordingSelect = 0x0005,
3355 kSndInputGetStatusSelect = 0x0006,
3356 kSndInputGetDeviceInfoSelect = 0x0007,
3357 kSndInputSetDeviceInfoSelect = 0x0008,
3358 kSndInputInitHardwareSelect = 0x0009
3362 #if PRAGMA_STRUCT_ALIGN
3363 #pragma options align = reset
3364 #elif PRAGMA_STRUCT_PACKPUSH
3366 #elif PRAGMA_STRUCT_PACK
3370 #ifdef PRAGMA_IMPORT_OFF
3373 #pragma import reset
Component Manager Interfaces.
Dialog Manager interfaces.
Basic Macintosh data types.
unsigned char Boolean
Definition: MacTypes.h:318
Mixed Mode Manager Interfaces.
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
@ kNonRealTime
Definition: Sound.h:605
@ kRateConvert
Definition: Sound.h:601
@ kHighQuality
Definition: Sound.h:604
@ k8BitTwosIn
Definition: Sound.h:593
OSErr SndRecordToFile(ModalFilterUPP filterProc, Point corner, OSType quality, short fRefNum)
@ waveTableSynth
Definition: Sound.h:144
@ MACE3snthID
Definition: Sound.h:146
OSErr SPBGetRecordingStatus(long inRefNum, short *recordingStatus, short *meterLevel, unsigned long *totalSamplesToRecord, unsigned long *numberOfSamplesRecorded, unsigned long *totalMsecsToRecord, unsigned long *numberOfMsecsRecorded)
SPBGetRecordingStatus Obtain recording status information.
OSErr SPBOpenDevice(ConstStr255Param deviceName, short permission, long *inRefNum)
OSErr SPBPauseRecording(long inRefNum)
SPBPauseRecording Pause recording from the specified device.
void DisposeSICompletionUPP(SICompletionUPP userUPP)
OSErr SndStartFilePlay(SndChannelPtr chan, short fRefNum, short resNum, long bufferSize, void *theBuffer, AudioSelectionPtr theSelection, FilePlayCompletionUPP theCompletion, Boolean async)
ComponentResult SoundComponentStopSource(ComponentInstance ti, short count, SoundSource *sources)
ComponentResult AudioGetTreble(ComponentInstance ac, short whichChannel, short *Treble)
ComponentResult SndInputGetDeviceInfo(ComponentInstance self, OSType infoType, void *infoData)
void SndGetSysBeepState(short *sysBeepState)
SndGetSysBeepState Determine whether SysBeep is enabled.
OSErr SetupAIFFHeader(short fRefNum, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, unsigned long numBytes, unsigned long numFrames)
Set up a file that can be played by SndStartFilePlay.
OSErr SndDisposeChannel(SndChannelPtr chan, Boolean quietNow)
NumVersion SPBVersion(void)
Determine the version of the sound input routines.
void Exp1to6(const void *inBuffer, void *outBuffer, unsigned long cnt, StateBlockPtr inState, StateBlockPtr outState, unsigned long numChannels, unsigned long whichChannel)
OSErr SndStopFilePlay(SndChannelPtr chan, Boolean quietNow)
@ siUserInterruptProc
Definition: Sound.h:460
@ siPauseRecording
Definition: Sound.h:459
@ siInitializeDriver
Definition: Sound.h:457
OSErr GetCompressionInfo(short compressionID, OSType format, short numChannels, short sampleSize, CompressionInfoPtr cp)
ComponentResult SoundComponentGetInfo(ComponentInstance ti, SoundSource sourceID, OSType selector, void *infoPtr)
ComponentResult AudioSetToDefaults(ComponentInstance ac)
void InvokeSndCallBackUPP(SndChannelPtr chan, SndCommand *cmd, SndCallBackUPP userUPP)
ComponentResult SoundComponentGetSource(ComponentInstance ti, SoundSource sourceID, ComponentInstance *source)
OSErr SoundConverterConvertBuffer(SoundConverter sc, const void *inputPtr, unsigned long inputFrames, void *outputPtr, unsigned long *outputFrames, unsigned long *outputBytes)
OSErr SPBSignInDevice(short deviceRefNum, ConstStr255Param deviceName)
@ kSoundComponentBits
Definition: Sound.h:656
@ kActionMask
Definition: Sound.h:655
@ kOutputShift
Definition: Sound.h:654
@ kOutputMask
Definition: Sound.h:653
ComponentResult AudioGetOutputDevice(ComponentInstance ac, Component *outputDevice)
void DisposeSIInterruptUPP(SIInterruptUPP userUPP)
OSErr GetSoundHeaderOffset(SndListHandle sndHandle, long *offset)
OSErr CloseMixerSoundComponent(ComponentInstance ci)
ComponentResult SoundComponentPlaySourceBuffer(ComponentInstance ti, SoundSource sourceID, SoundParamBlockPtr pb, long actions)
ComponentResult SndInputStopRecording(ComponentInstance self)
ComponentResult AudioGetVolume(ComponentInstance ac, short whichChannel, ShortFixed *volume)
OSErr GetSysBeepVolume(long *level)
OSErr ParseAIFFHeader(short fRefNum, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)
ComponentResult AudioGetMute(ComponentInstance ac, short whichChannel, short *mute)
ComponentResult SoundComponentSetOutput(ComponentInstance ti, SoundComponentDataPtr requested, SoundComponentDataPtr *actual)
@ siAsync
Definition: Sound.h:341
@ siCompressionSampleRate
Definition: Sound.h:353
@ siCompressionNames
Definition: Sound.h:350
@ siVendorProduct
Definition: Sound.h:438
@ siSupportedExtendedFlags
Definition: Sound.h:443
@ siTwosComplementOnOff
Definition: Sound.h:437
@ siCompressionAvailable
Definition: Sound.h:344
@ siSampleSize
Definition: Sound.h:416
@ siVolume
Definition: Sound.h:439
@ siDeviceIcon
Definition: Sound.h:361
@ siHardwareMuteNoPrefs
Definition: Sound.h:381
@ siOSTypeInputSource
Definition: Sound.h:402
@ siLevelMeterOnOff
Definition: Sound.h:396
@ siInputSource
Definition: Sound.h:394
@ siEQSpectrumResolution
Definition: Sound.h:367
@ siRateConverterRollOffSlope
Definition: Sound.h:445
@ siSampleRate
Definition: Sound.h:414
@ siHeadphoneVolumeSteps
Definition: Sound.h:390
@ siCompressionParams
Definition: Sound.h:352
@ siDeviceBufferInfo
Definition: Sound.h:358
@ siRateMultiplier
Definition: Sound.h:412
@ siQuality
Definition: Sound.h:411
@ siPreMixerSoundComponent
Definition: Sound.h:409
@ siVoxRecordInfo
Definition: Sound.h:440
@ siOSTypeInputAvailable
Definition: Sound.h:403
@ siDeviceName
Definition: Sound.h:362
@ siPlayThruOnOff
Definition: Sound.h:406
@ siSubwooferMute
Definition: Sound.h:435
@ siModemGain
Definition: Sound.h:397
@ siHardwareTreble
Definition: Sound.h:383
@ siOptionsDialog
Definition: Sound.h:401
@ siCompressionFactor
Definition: Sound.h:348
@ siHeadphoneVolume
Definition: Sound.h:389
@ siRecordingQuality
Definition: Sound.h:413
@ siInputSourceNames
Definition: Sound.h:395
@ siInputGain
Definition: Sound.h:393
@ siInputAvailable
Definition: Sound.h:392
@ siEQSpectrumLevels
Definition: Sound.h:364
@ siHardwareVolumeSteps
Definition: Sound.h:386
@ siOutputLatency
Definition: Sound.h:450
@ siOutputDeviceName
Definition: Sound.h:405
@ siTerminalType
Definition: Sound.h:436
@ siSoundClock
Definition: Sound.h:424
@ siSpeakerMute
Definition: Sound.h:427
@ siHardwareBalance
Definition: Sound.h:374
@ siActiveLevels
Definition: Sound.h:339
@ siSlopeAndIntercept
Definition: Sound.h:422
@ siHardwareMute
Definition: Sound.h:380
@ siContinuous
Definition: Sound.h:356
@ siEQSpectrumBands
Definition: Sound.h:363
@ siWideStereo
Definition: Sound.h:442
@ siCompressionHeader
Definition: Sound.h:349
@ siPostMixerSoundComponent
Definition: Sound.h:407
@ siVoxStopInfo
Definition: Sound.h:441
@ siHardwareFormat
Definition: Sound.h:379
@ siSampleSizeAvailable
Definition: Sound.h:417
@ siAGCOnOff
Definition: Sound.h:340
@ siAVDisplayBehavior
Definition: Sound.h:342
@ siHeadphoneMute
Definition: Sound.h:388
@ siSampleRateAvailable
Definition: Sound.h:415
@ siSetupCDAudio
Definition: Sound.h:418
@ siCompressionType
Definition: Sound.h:355
@ siEQSpectrumOnOff
Definition: Sound.h:365
@ siEQToneControlOnOff
Definition: Sound.h:372
@ siSetupModemAudio
Definition: Sound.h:420
@ siSpeakerVolume
Definition: Sound.h:429
@ siDeviceConnected
Definition: Sound.h:359
@ siEQToneControlGain
Definition: Sound.h:370
@ siMonitorAvailable
Definition: Sound.h:398
@ siSSpCPULoadLimit
Definition: Sound.h:431
@ siCompressionChannels
Definition: Sound.h:346
@ siDecompressionParams
Definition: Sound.h:357
OSErr SoundConverterOpen(const SoundComponentData *inputFormat, const SoundComponentData *outputFormat, SoundConverter *sc)
ComponentResult SoundComponentSetInfo(ComponentInstance ti, SoundSource sourceID, OSType selector, void *infoPtr)
ComponentResult AudioMuteOnEvent(ComponentInstance ac, short muteOnEvent)
@ siReadPermission
Definition: Sound.h:716
@ siDeviceNotConnected
Definition: Sound.h:714
@ siWritePermission
Definition: Sound.h:717
@ siDontKnowIfConnected
Definition: Sound.h:715
struct OpaqueSoundSource * SoundSource
Definition: Sound.h:1267
struct OpaqueSoundConverter * SoundConverter
Definition: Sound.h:1260
OSErr SetSoundOutputInfo(Component outputDevice, OSType selector, const void *infoPtr)
OSErr SoundManagerSetInfo(OSType selector, const void *infoPtr)
@ unitTypeSeconds
Definition: Sound.h:226
void InvokeSICompletionUPP(SPBPtr inParamPtr, SICompletionUPP userUPP)
#define NewSndDoubleBackUPP(userRoutine)
Definition: Sound.h:1085
OSErr ParseSndHeader(SndListHandle sndHandle, SoundComponentData *sndInfo, unsigned long *numFrames, unsigned long *dataOffset)
@ extSH
Definition: Sound.h:232
@ cmpSH
Definition: Sound.h:233
OSErr SoundConverterClose(SoundConverter sc)
@ siGoodQuality
Definition: Sound.h:706
@ siNoneQuality
Definition: Sound.h:707
@ siBetterQuality
Definition: Sound.h:705
@ siBestQuality
Definition: Sound.h:704
#define NewSIInterruptUPP(userRoutine)
Definition: Sound.h:1436
OSErr SPBCloseDevice(long inRefNum)
void DisposeSndCallBackUPP(SndCallBackUPP userUPP)
@ clockComponentCmd
Definition: Sound.h:252
@ linkSoundComponentsCmd
Definition: Sound.h:255
@ scheduledSoundCmd
Definition: Sound.h:254
@ getClockComponentCmd
Definition: Sound.h:253
@ getVolumeCmd
Definition: Sound.h:251
@ soundCmd
Definition: Sound.h:256
void DisposeSndDoubleBackUPP(SndDoubleBackUPP userUPP)
OSErr GetDefaultOutputVolume(long *level)
#define NewFilePlayCompletionUPP(userRoutine)
Definition: Sound.h:1705
OSErr SoundConverterFillBuffer(SoundConverter sc, SoundConverterFillBufferDataUPP fillBufferDataUPP, void *fillBufferDataRefCon, void *outputBuffer, unsigned long outputBufferByteSize, unsigned long *bytesWritten, unsigned long *framesWritten, unsigned long *outputFlags)
OSErr SndSetSysBeepState(short sysBeepState)
SndSetSysBeepState Set the state of the system alert sound..
void DisposeSoundParamUPP(SoundParamUPP userUPP)
OSErr SndPlayDoubleBuffer(SndChannelPtr chan, SndDoubleBufferHeaderPtr theParams)
void InvokeFilePlayCompletionUPP(SndChannelPtr chan, FilePlayCompletionUPP userUPP)
OSErr SndRecord(ModalFilterUPP filterProc, Point corner, OSType quality, SndListHandle *sndHandle)
#define NewSndCallBackUPP(userRoutine)
Definition: Sound.h:797
OSErr SoundConverterGetBufferSizes(SoundConverter sc, unsigned long inputBytesTarget, unsigned long *inputFrames, unsigned long *inputBytes, unsigned long *outputBytes)
@ initMACE3
Definition: Sound.h:327
@ initMono
Definition: Sound.h:325
@ initSRateMask
Definition: Sound.h:330
@ initChanRight
Definition: Sound.h:322
@ initStereoMask
Definition: Sound.h:331
@ initNoInterp
Definition: Sound.h:323
@ initStereo
Definition: Sound.h:326
@ initPanMask
Definition: Sound.h:329
@ initNoDrop
Definition: Sound.h:324
@ initMACE6
Definition: Sound.h:328
@ initCompMask
Definition: Sound.h:332
OSErr SndSetInfo(SndChannelPtr chan, OSType selector, const void *infoPtr)
ComponentResult SoundComponentInitOutputDevice(ComponentInstance ti, long actions)
#define NewSoundParamUPP(userRoutine)
Definition: Sound.h:1375
OSErr GetSoundPreference(OSType theType, Str255 name, Handle settings)
ComponentResult SoundComponentAddSource(ComponentInstance ti, SoundSource *sourceID)
ComponentResult AudioSetVolume(ComponentInstance ac, short whichChannel, ShortFixed volume)
OSErr SoundManagerGetInfo(OSType selector, void *infoPtr)
@ kAVDisplayPlainTalkRemove
Definition: Sound.h:674
@ kAVDisplayPlainTalkInsert
Definition: Sound.h:677
@ kAVDisplayHeadphoneInsert
Definition: Sound.h:673
ComponentResult AudioSetMute(ComponentInstance ac, short whichChannel, short mute)
OSErr SetDefaultOutputVolume(long level)
OSErr SPBStopRecording(long inRefNum)
SPBStopRecording Resume recording from the specified device.
void InvokeSndDoubleBackUPP(SndChannelPtr channel, SndDoubleBufferPtr doubleBufferPtr, SndDoubleBackUPP userUPP)
@ sysBeepEnable
Definition: Sound.h:219
OSErr SndManagerStatus(short theLength, SMStatusPtr theStatus)
SndManagerStatus Determine information about the Sound Manager.
OSErr SPBGetIndexedDevice(short count, Str255 deviceName, Handle *deviceIconHandle)
@ rate16khz
Definition: Sound.h:128
@ rate22khz
Definition: Sound.h:127
@ rate11025hz
Definition: Sound.h:130
@ rate32khz
Definition: Sound.h:125
@ rate8khz
Definition: Sound.h:131
@ rate11khz
Definition: Sound.h:129
@ rate22050hz
Definition: Sound.h:126
@ rate44khz
Definition: Sound.h:124
void SysBeep(short duration)
void Exp1to3(const void *inBuffer, void *outBuffer, unsigned long cnt, StateBlockPtr inState, StateBlockPtr outState, unsigned long numChannels, unsigned long whichChannel)
ComponentResult SoundComponentGetSourceData(ComponentInstance ti, SoundComponentDataPtr *sourceData)
OSErr SndDoCommand(SndChannelPtr chan, const SndCommand *cmd, Boolean noWait)
typedef CALLBACK_API_REGISTER68K(void, SIInterruptProcPtr,(SPBPtr inParamPtr, Ptr dataBuffer, short peakAmplitude, long sampleSize))
@ dbLastBuffer
Definition: Sound.h:211
OSErr OpenMixerSoundComponent(SoundComponentDataPtr outputDescription, long outputFlags, ComponentInstance *mixerComponent)
Boolean InvokeSoundConverterFillBufferDataUPP(SoundComponentDataPtr *data, void *refCon, SoundConverterFillBufferDataUPP userUPP)
ComponentResult SndInputReadSync(ComponentInstance self, SndInputCmpParamPtr SICParmPtr)
#define NewSICompletionUPP(userRoutine)
Definition: Sound.h:1466
OSErr SoundConverterSetInfo(SoundConverter sc, OSType selector, void *infoPtr)
ComponentResult SoundComponentStartSource(ComponentInstance ti, short count, SoundSource *sources)
OSErr GetCompressionName(OSType compressionType, Str255 compressionName)
OSErr SoundConverterGetInfo(SoundConverter sc, OSType selector, void *infoPtr)
@ kOffsetBinary
Definition: Sound.h:565
@ kIMACompression
Definition: Sound.h:556
@ kFloat64Format
Definition: Sound.h:547
@ k16BitBigEndianFormat
Definition: Sound.h:544
@ kFullMPEGLay3Format
Definition: Sound.h:569
@ kMACE6Compression
Definition: Sound.h:553
@ kMPEGLayer3Format
Definition: Sound.h:568
@ kTwosComplement
Definition: Sound.h:566
@ k8BitOffsetBinaryFormat
Definition: Sound.h:543
@ k32BitLittleEndianFormat
Definition: Sound.h:550
@ kCDXA2Compression
Definition: Sound.h:555
@ kDVIIntelIMAFormat
Definition: Sound.h:560
@ kCDXA4Compression
Definition: Sound.h:554
@ kMicrosoftADPCMFormat
Definition: Sound.h:559
@ kQDesignCompression
Definition: Sound.h:562
@ k24BitFormat
Definition: Sound.h:548
@ kQDesign2Compression
Definition: Sound.h:563
@ kMACE3Compression
Definition: Sound.h:552
@ kFloat32Format
Definition: Sound.h:546
@ kQUALCOMMCompression
Definition: Sound.h:564
@ kDVAudioFormat
Definition: Sound.h:561
@ kALawCompression
Definition: Sound.h:558
@ kULawCompression
Definition: Sound.h:557
@ k32BitFormat
Definition: Sound.h:549
@ kLittleEndianFormat
Definition: Sound.h:567
@ k16BitLittleEndianFormat
Definition: Sound.h:545
ComponentResult SoundComponentSetSource(ComponentInstance ti, SoundSource sourceID, ComponentInstance source)
OSErr SetupSndHeader(SndListHandle sndHandle, short numChannels, UnsignedFixed sampleRate, short sampleSize, OSType compressionType, short baseNote, unsigned long numBytes, short *headerLen)
Set up headers for 'snd ' resources.
OSErr SPBBytesToMilliseconds(long inRefNum, long *byteCount)
OSErr SPBGetDeviceInfo(long inRefNum, OSType infoType, void *infoData)
ComponentResult AudioSetTreble(ComponentInstance ac, short whichChannel, short Treble)
OSErr SoundConverterBeginConversion(SoundConverter sc)
ComponentResult SndInputInitHardware(ComponentInstance self)
OSErr SPBSetDeviceInfo(long inRefNum, OSType infoType, void *infoData)
ComponentResult SoundComponentRemoveSource(ComponentInstance ti, SoundSource sourceID)
OSErr SPBResumeRecording(long inRefNum)
SPBResumeRecording Resume recording from the specified device.
void DisposeSoundConverterFillBufferDataUPP(SoundConverterFillBufferDataUPP userUPP)
ComponentResult SndInputReadAsync(ComponentInstance self, SndInputCmpParamPtr SICParmPtr)
OSErr SPBSignOutDevice(short deviceRefNum)
void Comp3to1(const void *inBuffer, void *outBuffer, unsigned long cnt, StateBlockPtr inState, StateBlockPtr outState, unsigned long numChannels, unsigned long whichChannel)
OSErr SndDoImmediate(SndChannelPtr chan, const SndCommand *cmd)
ComponentResult SndInputPauseRecording(ComponentInstance self)
OSErr SetSysBeepVolume(long level)
OSErr SoundConverterEndConversion(SoundConverter sc, void *outputPtr, unsigned long *outputFrames, unsigned long *outputBytes)
OSErr SPBRecord(SPBPtr inParamPtr, Boolean asynchFlag)
NumVersion MACEVersion(void)
Determine the version of the MACE tools.
ComponentResult AudioGetInfo(ComponentInstance ac, AudioInfoPtr info)
@ secondSoundFormat
Definition: Sound.h:204
OSErr SndChannelStatus(SndChannelPtr chan, short theLength, SCStatusPtr theStatus)
OSErr SndGetInfo(SndChannelPtr chan, OSType selector, void *infoPtr)
OSErr GetSoundOutputInfo(Component outputDevice, OSType selector, void *infoPtr)
void InvokeSIInterruptUPP(SPBPtr inParamPtr, Ptr dataBuffer, short peakAmplitude, long sampleSize, SIInterruptUPP userUPP)
@ kExtendedSoundBufferSizeValid
Definition: Sound.h:738
OSErr SndNewChannel(SndChannelPtr *chan, short synth, long init, SndCallBackUPP userRoutine)
void Comp6to1(const void *inBuffer, void *outBuffer, unsigned long cnt, StateBlockPtr inState, StateBlockPtr outState, unsigned long numChannels, unsigned long whichChannel)
typedef CALLBACK_API(Boolean, SoundConverterFillBufferDataProcPtr)(SoundComponentDataPtr *data
ComponentResult SndInputResumeRecording(ComponentInstance self)
UnsignedFixed UnsignedFixedMulDiv(UnsignedFixed value, UnsignedFixed multiplier, UnsignedFixed divisor)
@ kFullVolume
Definition: Sound.h:160
OSErr SndPlay(SndChannelPtr chan, SndListHandle sndHandle, Boolean async)
@ convertCmd
Definition: Sound.h:284
@ fixedCompression
Definition: Sound.h:181
@ variableCompression
Definition: Sound.h:182
Boolean InvokeSoundParamUPP(SoundParamBlockPtr *pb, SoundParamUPP userUPP)
OSErr SetSoundPreference(OSType theType, Str255 name, Handle settings)
#define NewSoundConverterFillBufferDataUPP(userRoutine)
Definition: Sound.h:1406
OSErr SndControl(short id, SndCommand *cmd)
ComponentResult SoundComponentPauseSource(ComponentInstance ti, short count, SoundSource *sources)
@ kSoundConverterHasLeftOverData
Definition: Sound.h:726
ComponentResult SndInputSetDeviceInfo(ComponentInstance self, OSType infoType, void *infoData)
@ kTVFMTunerSource
Definition: Sound.h:475
@ kCDSource
Definition: Sound.h:471
@ kIntMicSource
Definition: Sound.h:477
@ kZoomVideoSource
Definition: Sound.h:482
@ kExtMicSource
Definition: Sound.h:472
@ kDVDSource
Definition: Sound.h:483
@ kSoundInSource
Definition: Sound.h:473
@ kRCAInSource
Definition: Sound.h:474
@ kMicrophoneArray
Definition: Sound.h:484
@ kNoSource
Definition: Sound.h:470
@ kPCCardSource
Definition: Sound.h:481
@ kModemSource
Definition: Sound.h:479
@ kMediaBaySource
Definition: Sound.h:478
OSErr SPBMillisecondsToBytes(long inRefNum, long *milliseconds)
ComponentResult AudioGetBass(ComponentInstance ac, short whichChannel, short *bass)
ComponentResult AudioSetBass(ComponentInstance ac, short whichChannel, short bass)
@ audioDoesStereo
Definition: Sound.h:694
@ audioRightChannel
Definition: Sound.h:688
@ audioLeftChannel
Definition: Sound.h:687
@ audioAllChannels
Definition: Sound.h:685
@ audioDoesIndependentChannels
Definition: Sound.h:695
@ audioUnmuted
Definition: Sound.h:690
@ audioDoesMono
Definition: Sound.h:693
@ audioMuted
Definition: Sound.h:691
@ kNoSampleRateConversion
Definition: Sound.h:620
@ kNoDecompression
Definition: Sound.h:627
@ kNoChannelConversion
Definition: Sound.h:626
@ kNoVolumeConversion
Definition: Sound.h:628
@ kNoRealtimeProcessing
Definition: Sound.h:629
@ kVMAwareMixer
Definition: Sound.h:637
@ kNoSampleSizeConversion
Definition: Sound.h:622
@ kNoSampleFormatConversion
Definition: Sound.h:624
@ kNonPagingMixer
Definition: Sound.h:632
@ kScheduledSource
Definition: Sound.h:630
@ kSoundConverterMixer
Definition: Sound.h:633
@ kPagingMixer
Definition: Sound.h:635
@ kExtendedSoundData
Definition: Sound.h:639
@ kNonInterleavedBuffer
Definition: Sound.h:631
OSErr SPBRecordToFile(short fRefNum, SPBPtr inParamPtr, Boolean asynchFlag)
ComponentResult SndInputGetStatus(ComponentInstance self, short *recordingStatus, unsigned long *totalSamplesToRecord, unsigned long *numberOfSamplesRecorded)
NumVersion SndSoundManagerVersion(void)
SndSoundManagerVersion Determine the version of the Sound Manager.
@ kClassicSubType
Definition: Sound.h:505
@ kSingerSubType
Definition: Sound.h:512
@ kWaveOutSnifferSubType
Definition: Sound.h:518
@ kUSBSubType
Definition: Sound.h:523
@ kConverterSubType
Definition: Sound.h:496
@ kSoundOutputDeviceType
Definition: Sound.h:504
@ kGCAwacsSubType
Definition: Sound.h:510
@ kSndSourceSubType
Definition: Sound.h:497
@ kMixer16SubType
Definition: Sound.h:500
@ kEqualizerSubType
Definition: Sound.h:535
@ kDSPSubType
Definition: Sound.h:507
@ kUNIXsdevSubType
Definition: Sound.h:522
@ kDirectSoundSnifferSubType
Definition: Sound.h:520
@ kSSpLocalizationSubType
Definition: Sound.h:536
@ kAwacsPhoneSubType
Definition: Sound.h:529
@ kSoundCompressor
Definition: Sound.h:525
@ kAwacsSubType
Definition: Sound.h:508
@ kWhitSubType
Definition: Sound.h:514
@ kSinger2SubType
Definition: Sound.h:513
@ kRate8SubType
Definition: Sound.h:494
@ kWaveOutSubType
Definition: Sound.h:517
@ kASCSubType
Definition: Sound.h:506
@ kMixerType
Definition: Sound.h:498
@ kSoundBlasterSubType
Definition: Sound.h:516
@ kWaveInSubType
Definition: Sound.h:502
@ kDirectSoundSubType
Definition: Sound.h:519
@ kSoundComponentPPCType
Definition: Sound.h:492
@ kWaveInSnifferSubType
Definition: Sound.h:503
@ kRate16SubType
Definition: Sound.h:495
@ kSoundInputDeviceType
Definition: Sound.h:501
@ kBlueBoxSubType
Definition: Sound.h:524
OSErr SndPauseFilePlay(SndChannelPtr chan)
SndPauseFilePlay Suspend asynchronous play from disk.
void DisposeFilePlayCompletionUPP(FilePlayCompletionUPP userUPP)
typedef REGISTER_UPP_TYPE(HighHookProcPtr) HighHookUPP
OSType atomType
Definition: Sound.h:1298
short littleEndian
Definition: Sound.h:1299
unsigned short numVolumeSteps
Definition: Sound.h:1282
long reserved
Definition: Sound.h:1281
OSType atomType
Definition: Sound.h:1306
Definition: Components.h:133
Definition: Components.h:220
Definition: Components.h:214
long extendedFlags
Definition: Sound.h:1201
long bufferSize
Definition: Sound.h:1202
long recordSize
Definition: Sound.h:1200
long bufferSize
Definition: Sound.h:1231
short reserved
Definition: Sound.h:1229
Definition: MacTypes.h:206
UInt8 rightMeter
Definition: Sound.h:1314
UInt8 leftMeter
Definition: Sound.h:1313
Definition: MacTypes.h:638
Definition: MacTypes.h:520
unsigned long count
Definition: Sound.h:1342
OSErr error
Definition: Sound.h:1349
long userLong
Definition: Sound.h:1348
unsigned long bufferLength
Definition: Sound.h:1344
unsigned long milliseconds
Definition: Sound.h:1343
SICompletionUPP completionRoutine
Definition: Sound.h:1346
long unused1
Definition: Sound.h:1350
SIInterruptUPP interruptRoutine
Definition: Sound.h:1347
Ptr bufferPtr
Definition: Sound.h:1345
SndCallBackUPP callBack
Definition: Sound.h:764
SndCommand cmdInProgress
Definition: Sound.h:767
SoundSource * linkID
Definition: Sound.h:1274
SoundSource mixerID
Definition: Sound.h:1273
short result
Definition: Sound.h:1222
UnsignedFixed rateMultiplier
Definition: Sound.h:1214
long refCon
Definition: Sound.h:1221
short leftVolume
Definition: Sound.h:1215
ComponentInstance filter
Definition: Sound.h:1218
short rightVolume
Definition: Sound.h:1216
SoundParamUPP completionRtn
Definition: Sound.h:1220
SoundParamUPP moreRtn
Definition: Sound.h:1219
SoundComponentData desc
Definition: Sound.h:1213
Definition: MacTypes.h:585