Allow Interruption by Setting the Interrupt Mode
Available for Studio & SitePal
sayAudio('audioAdvantages')
sayText('[text]',3,1,3)
|
To set the interruptMode parameter of setStatus() to 0 using the setStatus() command: setStatus(0,0,0,1). In this case, audio playback function calls are queued for consecutive playback. 0 is the default interruptMode.
|
To set the interruptMode parameter of setStatus() to 1 using the setStatus() command: setStatus(1,0,0,1). In this case, the current audio is interrupted when audio playback functions such as sayAudio or sayText are called.
|
Please feel free to use the source code of this page as an example.
To view the source code of this page, follow these instructions.
|