Carbon


Sound Data Type Constants

Header: Sound.h

enum {
    squareWaveSynth = 1,
    waveTableSynth = 3,
    MACE3snthID = 11,
    MACE6snthID = 13
};

Constant descriptions

squareWaveSynth

Square-wave data.

waveTableSynth

Wave-table data.

MACE3snthID
MACE6snthID

These constants are used in the synth parameter of the SndNewChannel function and in the id parameter of the SndControl function to specify the sound data type you intend to play on a channel. In Sound Manager versions earlier than version 3.0, only one data type can be produced at any one time. As a result, SndNewChannel may fail if you attempt to open a channel specifying a data type other than the one currently being played.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)