Return Codes#

The NvAFX_Status enumeration defines the following values that the NVIDIA Audio Effects SDK functions might return to indicate error or success.

NVAFX_STATUS_SUCCESS

Successful execution.

NVAFX_STATUS_FAILED

Generic error code, which indicates that the function failed to execute for an unspecified reason.

NVAFX_STATUS_INVALID_HANDLE

An invalid effect handle has been supplied.

NVAFX_STATUS_INVALID_PARAM

An invalid parameter value has been supplied for this combination of effect and selector string.

NVAFX_STATUS_IMMUTABLE_PARAM

User tried to modify an immutable parameter.

NVAFX_STATUS_INSUFFICIENT_DATA

There is insufficient data to process.

NVAFX_STATUS_EFFECT_NOT_AVAILABLE

The specified effect is not supported.

NVAFX_STATUS_OUTPUT_BUFFER_TOO_SMALL

The output buffer length is too small to hold the requested data.

NVAFX_STATUS_MODEL_LOAD_FAILED

The specified model file cannot be loaded.

NVAFX_STATUS_MODEL_NOT_LOADED

Model is not loaded, and it has to be loaded for this operation.

NVAFX_STATUS_INCOMPATIBLE_MODEL

Selected model is incompatible.

NVAFX_STATUS_GPU_UNSUPPORTED

The selected GPU is not supported. The SDK requires an NVIDIA GPU with Tensor cores.

NVAFX_STATUS_NO_SUPPORTED_GPU_FOUND

No supported GPU found on the system.

NVAFX_STATUS_WRONG_GPU

Current GPU is not the one selected.

NVAFX_STATUS_CUDA_ERROR

CUDA operation failure.

NVAFX_STATUS_INVALID_OPERATION

Invalid operation performed.