set the bufferSize of <sound> to <integer> Applies to sounds (Macintosh only)
The default value of bufferSize is .5 seconds. The minimum value is 0 seconds.
The bufferSize property applies only to sounds played on a Macintosh.
The following sound script sets the value of bufferSize according to where the sound file is located. A global variable, called mySoundSource contains a string indicating the type of sound file storage being used. The current units are in milliseconds:
if mySoundSource = "disk" then
set the bufferSize of sound 1 to 500
else if mySoundSource = "cd" then set the bufferSize of snd 1 to 3000
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.