Previous Up Next

_sndSetRflxPlayBuf
Define a callback function on 'buffer required' event.

SoundPlay _sndSetRflxPlayBuf (
SoundPlay _player_
fun [SoundPlay u0 I] S _callback_
u0 _user_
)
Parameters

_player_
last created player
_callback_
callback function requiring a new buffer to play (supplemental parameter is the buffer number). The callback should return the new buffer to play.
_user_
user parameter
Return value

same player