pub unsafe extern "C" fn aic_processor_create(
processor: *mut *mut AicProcessor,
model: *const AicModel,
license_key: *const c_char,
) -> TypeExpand description
Creates a new audio processor instance.
Multiple processors can be created to process different audio streams simultaneously or to switch between different enhancement algorithms during runtime.
§Parameters
processor: Receives the handle to the newly created processor. Must not be NULL.model: Handle to the model instance to process. Must not be NULL.license_key: NULL-terminated string containing your license key. Must not be NULL.
§Returns
AIC_ERROR_CODE_SUCCESS: Processor created successfullyAIC_ERROR_CODE_NULL_POINTER:processorormodelorlicense_keyis NULLAIC_ERROR_CODE_LICENSE_INVALID: License key format is incorrectAIC_ERROR_CODE_LICENSE_VERSION_UNSUPPORTED: License version is not compatible with the SDK versionAIC_ERROR_CODE_LICENSE_EXPIRED: License key has expired
§Safety
- This function is not thread-safe. Ensure no other threads are using the processor handle.