1 # Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h'
3 f
= SndFunction(void
, 'SetSoundVol',
4 (short
, 'level', InMode
),
8 f
= SndFunction(void
, 'GetSoundVol',
9 (short
, 'level', OutMode
),
13 f
= SndMethod(OSErr
, 'SndDoCommand',
14 (SndChannelPtr
, 'chan', InMode
),
15 (SndCommand_ptr
, 'cmd', InMode
),
16 (Boolean
, 'noWait', InMode
),
20 f
= SndMethod(OSErr
, 'SndDoImmediate',
21 (SndChannelPtr
, 'chan', InMode
),
22 (SndCommand_ptr
, 'cmd', InMode
),
26 f
= SndFunction(OSErr
, 'SndNewChannel',
27 (SndChannelPtr
, 'chan', OutMode
),
28 (short
, 'synth', InMode
),
29 (long, 'init', InMode
),
30 (SndCallBackUPP
, 'userRoutine', InMode
),
34 f
= SndMethod(OSErr
, 'SndPlay',
35 (SndChannelPtr
, 'chan', InMode
),
36 (SndListHandle
, 'sndHdl', InMode
),
37 (Boolean
, 'async', InMode
),
41 f
= SndFunction(OSErr
, 'SndControl',
42 (short
, 'id', InMode
),
43 (SndCommand
, 'cmd', OutMode
),
47 f
= SndFunction(long, 'SndSoundManagerVersion',
51 f
= SndMethod(OSErr
, 'SndStartFilePlay',
52 (SndChannelPtr
, 'chan', InMode
),
53 (short
, 'fRefNum', InMode
),
54 (short
, 'resNum', InMode
),
55 (long, 'bufferSize', InMode
),
56 (FakeType('0'), 'theBuffer', InMode
),
57 (AudioSelectionPtr
, 'theSelection', InMode
),
58 (FilePlayCompletionUPP
, 'theCompletion', InMode
),
59 (Boolean
, 'async', InMode
),
63 f
= SndMethod(OSErr
, 'SndPauseFilePlay',
64 (SndChannelPtr
, 'chan', InMode
),
68 f
= SndMethod(OSErr
, 'SndStopFilePlay',
69 (SndChannelPtr
, 'chan', InMode
),
70 (Boolean
, 'quietNow', InMode
),
74 f
= SndMethod(OSErr
, 'SndChannelStatus',
75 (SndChannelPtr
, 'chan', InMode
),
76 (short
, 'theLength', InMode
),
77 (SCStatus
, 'theStatus', OutMode
),
81 f
= SndFunction(OSErr
, 'SndManagerStatus',
82 (short
, 'theLength', InMode
),
83 (SMStatus
, 'theStatus', OutMode
),
87 f
= SndFunction(void
, 'SndGetSysBeepState',
88 (short
, 'sysBeepState', OutMode
),
92 f
= SndFunction(OSErr
, 'SndSetSysBeepState',
93 (short
, 'sysBeepState', InMode
),
97 f
= SndFunction(long, 'MACEVersion',
101 f
= SndFunction(void
, 'Comp3to1',
102 (InOutBuffer
, 'buffer', InOutMode
),
103 (StateBlock
, 'state', InOutMode
),
104 (unsigned_long
, 'numChannels', InMode
),
105 (unsigned_long
, 'whichChannel', InMode
),
109 f
= SndFunction(void
, 'Exp1to3',
110 (InOutBuffer
, 'buffer', InOutMode
),
111 (StateBlock
, 'state', InOutMode
),
112 (unsigned_long
, 'numChannels', InMode
),
113 (unsigned_long
, 'whichChannel', InMode
),
117 f
= SndFunction(void
, 'Comp6to1',
118 (InOutBuffer
, 'buffer', InOutMode
),
119 (StateBlock
, 'state', InOutMode
),
120 (unsigned_long
, 'numChannels', InMode
),
121 (unsigned_long
, 'whichChannel', InMode
),
125 f
= SndFunction(void
, 'Exp1to6',
126 (InOutBuffer
, 'buffer', InOutMode
),
127 (StateBlock
, 'state', InOutMode
),
128 (unsigned_long
, 'numChannels', InMode
),
129 (unsigned_long
, 'whichChannel', InMode
),
133 f
= SndFunction(OSErr
, 'GetSysBeepVolume',
134 (long, 'level', OutMode
),
138 f
= SndFunction(OSErr
, 'SetSysBeepVolume',
139 (long, 'level', InMode
),
143 f
= SndFunction(OSErr
, 'GetDefaultOutputVolume',
144 (long, 'level', OutMode
),
148 f
= SndFunction(OSErr
, 'SetDefaultOutputVolume',
149 (long, 'level', InMode
),
153 f
= SndFunction(OSErr
, 'GetSoundHeaderOffset',
154 (SndListHandle
, 'sndHandle', InMode
),
155 (long, 'offset', OutMode
),