[index]
BufferSize Property
Syntax
set the bufferSize of <sound> to <integer> Applies to sounds (Macintosh only)
Description
The default value of bufferSize is .5 seconds. The minimum value is 0 seconds.
Notes
The bufferSize property applies only to sounds played on a Macintosh.
Examples
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 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.