SPBBytesToMilliSeconds
long inRefNum; a device reference number
long *byteCount; a byte value to convert
audio data can be recorded in a buffer that is byteCount bytes long, given the
input device's current sample rate, sample size, number of channels, and
compression factor.
inRefNum indicates the input device to use,
byteCount points to a byte value to convert. On return,the number of
milliseconds is returned in the byteCount parameter
noErr (0) No error
siBadSoundInDevice (-221) Invalid sound input device