Function GenieDialog_getSampler

Function Documentation

Genie_Status_t GenieDialog_getSampler(const GenieDialog_Handle_t dialogHandle, GenieSampler_Handle_t *dialogSamplerHandle)

A function to get the sampler handle associated with a dialog.

Parameters
  • dialogHandle[in] A dialog handle.

  • dialogSamplerHandle[in] A sampler handle tied to dialogHandle. Must not be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Dialog handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_GET_HANDLE_FAILED: Get sampler failure.