API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IACTORCONTEXT_GETTRIGPLAYER()

Brew Release
Brew MP 1.0.2
Description
This function returns a pointer to the ITrigplayer interface In a multiheaded trigplayer: returns pointer to the ITrigplayer interface of the first created head in the player. If the first created head was closed, then it will return the next available split head. The returned interface is AddRef'ed. Note: a multiheaded trigplayer is a player that contains splits heads.
Params
po
[]:
pointer to the IActorContext interface object
pt
[]:
[out] Address at which to store a pointer to the trigplayer interface
Interface
  • IACTORCONTEXT
Prototype
  •    int IACTORCONTEXT_GetTrigplayer(IActorContext * po,ITrigplayer ** pt)
    
Return
  •    SUCCESS, or standard BREW error code.
    
Comments
The caller must Release the trigplayer object when finished with it.