![]() |
Sample Rate Constants |
Header: Sound.h |
enum { rate48khz = -1149239296, rate44khz = -1404829696, rate32khz = 2097152000, rate22050hz = 1445068800, rate22khz = 1458473891, rate16khz = 1048576000, rate11khz = 729236945, rate11025hz = 722534400, rate8khz = 524288000 };
Sample rate at 44100.00000 Fixed.
Sample rate at 22254.54545 Fixed.
Sample rate at 11127.27273 Fixed.
These constants are used in the sampleRate field of the SoundHeader structure to specify the rate at which the sample was originally recorded. The Sound Manager can play sounds sampled at any rate up to 64 kHz. The values corresponding to the three most common sample rates (11 kHz, 22 kHz, and 44 kHz) are defined by constants.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)