Register a sequence callback function.
- Parameters
-
[in] | func | sequence callback function |
[in] | obj | user-specified object |
- Description:
- Registers a callback function that receives the information embedded in a sequence data.
It is called when a callback event is processed in the server process.
- Attention
- Therefore, if an API that does not take into account interrupts to the server process is executed, an error or a deadlock may occur.
Basically, do not use aany Atom library APIs within a callback function.
Note that if processes are blocked in the callback function for a long time, some problems such as a audio breakups may occur.
Only one callback function can be registered.
If perform a registration operation more than once, the already registered callback function will be overwritten by the callback function registered later.
By passing NULL to func, you can unregister the current callback function.
- See also
- CriAtomExSequencerEventCbFunc