Function GenieSampler_applyConfig

Function Documentation

Genie_Status_t GenieSampler_applyConfig(const GenieSampler_Handle_t samplerHandle, const GenieSamplerConfig_Handle_t configHandle)

A function to apply the sampler config parameters to a sampler.

Parameters
  • samplerHandle[in] A sampler handle.

  • configHandle[in] A sampler config handle.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Sampler handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_APPLY_CONFIG_FAILED: Apply Config failure.