Function GenieSamplerConfig_setParam

Function Documentation

Genie_Status_t GenieSamplerConfig_setParam(const GenieSamplerConfig_Handle_t configHandle, const char *keyStr, const char *valueStr)

A function to set sampler params(s) associated with configHandle.

Parameters
  • configHandle[in] A sampler config handle.

  • keyStr[in] A string indicating the sampler parameter to update. If NULL, valueStr must have the entire sampler configuration string. See SDK documentation for valid keys.

  • valueStr[in] A string that holds the corresponding value of keyStr parameter

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Sampler config handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_SET_PARAM_FAILED: Set Param failure.