Bink SDK 1.5v |
By default, Bink handles memory management under MacOS by calling the MacOS memory functions directly. You can, however, replace the Bink allocation and freeing functions with the RADSetMemory function. When allocating memory from MacOS directly, Bink tries to allocate memory in this order:
1) Bink first tries to allocate memory from the application's memory partition. 2) Next, Bink tries to allocate memory from the MultiFinder temporary memory block. 3) Finally, Bink will then try to allocate memory from the temporary system memory pool.
Using this set of memory fallbacks, Bink will usually find the memory it needs no matter where it may be hiding. You can see how much memory is being used and what the peak use was with the BinkGetSummary function.
Next Topic (Sharing the CPU under MacOS)
Previous Topic (Sound under MacOS)
Group:
The MacOS Platform
Related Functions:
BinkGetSummary, RADSetMemory
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.