4-75
4.4.1
Creation APIs
Creation APIs are used to create an instance of the component. The term creation could mean
allocating system resources, typically memory.
║
Name
algNumAlloc()
– determine the number of buffers that an algorithm requires
║
Synopsis
XDAS_Int32 algNumAlloc(Void);
║
Arguments
Void
║
Return Value
XDAS_Int32; /* number of buffers required */
║
Description
algNumAlloc()
returns the number of buffers that the
algAlloc()
method requires. This
operation allows you to allocate sufficient space to call the
algAlloc()
method.
algNumAlloc()
may be called at any time and can be called repeatedly without any side effects. It
always returns the same result. The
algNumAlloc()
API is optional.
For more details, see
TMS320 DSP Algorithm Standard API Reference
(literature number
SPRU360).
║
See Also
algAlloc()