Install a marker decision function.
Err spSetMarkerDecisionFunction (SPSound *sound, const char *markerName,SPDecisionFunction decisionFunc, void *decisionData)
Install a decision function that is to be called when the player reaches the specified marker. Each marker can have a different decision function.
Clear the marker's decision function with spCleateMarkerDecisionFunction()
.
Non-negative value on success; negative error code on failure.
Library call implemented in music.lib V24.
While a marker decision function is installed, reading from disc is interrupted every time this marker is encountered. This can have an impact on performance.
soundplayer.h, music.lib
spClearMarkerDecisionFunction
(), spSetDefaultDecisionFunction(), SPDecisionFunction