Format Sint32 BPL_Init
(Sint32 bstmmax, Sint32 brmax, Sint32 Keymax, void * work)
Input bstmmax: Total number of branch streams to be registered
Brmax: total number of branches
, Keymax: Total number of stream key types
Work: work area
No output
Function value Error code
Function Initializes the work area to use the branch playback library. Set
All information on Nario will be cleared.
Be sure to execute this before using the branch playback library.
Remarks (a) The size of the work area is in BPL_WORK_SIZE (bstmmax, brmax, keymax) bytes
Request.
The work area should be placed on a 4-byte boundary.
《Example》
Uint32 work [BPL_WORK_SIZE (bstmmax, brmax, keymax) / sizeof (Uint32];
(B) When setting different types of stream keys for different branch streams,
The sum of these types is the keymax value.
《Example》
When setting key1 (3 types of keys) to bstm1 and key2 (4 types of keys) to bstm2
The keymax is 7 as the sum of key1 and key2.
If the same key1 is set for bstm1 and bstm2, keymax will be 3 for key1 only.
(C) The BPL_Init function does not close the stream group being used.
Yes.
To forcibly initialize while using the branch playback library, use the BPL_Reset function.
Execute.