![]() |
SndCommand |
Header: Sound.h |
struct SndCommand { UInt16 cmd; SInt16 param1; SInt32 param2; };
The number of the sound command you wish to execute.
The first parameter of the sound command.
The second parameter of the sound command.
A sound command structure describes a sound command that you send to a sound channel using the SndDoCommand or SndDoImmediate function. The SndCommand data type defines a sound command structure.
The meaning of the param1 and param2 fields depends on the particular sound command being issued. See
You should use this data structure only if you need to access this information or to customize sound play.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)