![]() |
Sound Component Features Flags |
Header: Sound.h |
enum { k8BitRawIn = 1, k8BitTwosIn = 2, k16BitIn = 4, kStereoIn = 8, k8BitRawOut = 256, k8BitTwosOut = 512, k16BitOut = 1024, kStereoOut = 2048, kReverse = 65536, kRateConvert = 131072, kCreateSoundSource = 262144, kVMAwareness = 2097152, kHighQuality = 4194304, kNonRealTime = 8388608 };
The component can accept 8 bit offset binary data as input.
The component can accept 8 bit twos complement data as input.
The component can accept 16 bit data as input. 16 bit data is always in twos complement format.
The component can accept stereo data as input.
The component can produce 8 bit offset binary data as output.
The component can produce 8 bit twos complement data as output.
The component can produce 16 bit data as output. 16 bit data is always in twos complement format.
The component can produce stereo data as output.
The component can accept reversed audio data.
The component can convert sample rates.
The component can create sound sources.
The component can produce high quality output.
You can use these constants to define features of your sound component. You use some combination of these constants to set bits in the componentFlags field of a component description structure, which is contained in a 'thng' resource. These bits represent the kind of data your component can receive as input, the kind of data your component can produce as output, the operations your component can perform, and the performance of your component.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)