![]() |
CompressionInfo |
Header: Sound.h |
struct CompressionInfo { SInt32 recordSize; OSType format; SInt16 compressionID; UInt16 samplesPerPacket; UInt16 bytesPerPacket; UInt16 bytesPerFrame; UInt16 bytesPerSample; UInt16 futureUse1; }; typedef CompressionInfo CompressionInfoPtr;
The size of this compression information structure.
The compression format.
The compression ID.
The number of samples in each packet.
The number of bytes in each packet.
The number of bytes in each frame.
The number of bytes in each sample.
Reserved for use by Apple Computer, Inc. You should set this field to 0.
When the Sound Manager calls your SoundComponentGetInfo function with the siCompressionFactor selector, you need to return a pointer to a compression information structure, which is defined by the CompressionInfo data type.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)