Platform SDK: DirectX |
The DirectSoundBuffer.SetNotificationPositions method sets the notification positions. During playback, whenever the current play position reaches a specified offset, the associated event is signaled.
object.SetNotificationPositions(nElements As Long, _ psa() As DSBPOSITIONNOTIFY)
If the method fails, an error is raised and Err.Number may be set to one of the following error codes.
DSERR_INVALIDCALL |
DSERR_INVALIDPARAM |
DSERR_PRIOLEVELNEEDED |