Carbon


Unit Type Constants

Header: Sound.h

enum {
    unitTypeNoSelection = 65535,
    unitTypeSeconds = 0
};

Constant descriptions

unitTypeNoSelection

No selection. If the value in the unitType field is unitTypeNoSelection, then the values in the selStart and selEnd fields are ignored and the entire sound plays. Alternatively, if you wish to play an entire sound, you can pass NULL instead of a pointer to an audio selection structure to the SndStartFilePlay function.

unitTypeSeconds

Specifies the unit type in seconds.

These constants specify the unit type in the unitType field of the AudioSelection structure.


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