Calculate required length for the temporary buffer.
- Parameters
-
[in] | arch | Target architecture identification |
[in] | dt | Data type of the input data |
[in] | nb_samples | Number of samples in the input data |
[in] | buf_id | Identification for the temporary buffer |
[in] | use_cfft | 1 if implementastion uses CFFT, 0 if RFFT |
- Returns
- Length in datatype elements (real numbers) for the temporary buffer
- Note
- 0 means not applicable (temporary buffer not needed)
-
-1 means error : configuration not supported
-
The define
ARM_MFCC_USE_CFFT
can be checked to know the current MFCC mode (CFFT or RFFT) for the build