Click or drag to resize
AudioClientReturnCodes Enumeration

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public enum AudioClientReturnCodes
Members
  Member nameValueDescription
S_OK0 S_OK
S_FALSE1 S_FALSE
NOT_INITIALIZED1 The audio stream has not been successfully initialized.
ALREADY_INITIALIZED2 The IAudioClient object is already initialized.
WRONG_ENDPOINT_TYPE3 The caller tried to access an IAudioCaptureClient interface on a rendering endpoint, or an IAudioRenderClient interface on a capture endpoint.
DEVICE_INVALIDATED4 The audio endpoint device has been unplugged, or the audio hardware or associated hardware resources have been reconfigured, disabled, removed, or otherwise made unavailable for use.
NOT_STOPPED5 The audio stream was not stopped at the time the call was made.
BUFFER_TOO_LARGE6 The NumFramesRequested value exceeds the available buffer space (buffer size minus padding size).
OUT_OF_ORDER7 A previous IAudioRenderClient::GetBuffer call is still in effect.
UNSUPPORTED_FORMAT8 The audio engine (shared mode) or audio endpoint device (exclusive mode) does not support the specified format.
INVALID_SIZE9
DEVICE_IN_USE10 The endpoint device is already in use. Either the device is being used in exclusive mode, or the device is being used in shared mode and the caller asked to use the device in exclusive mode.
BUFFER_OPERATION_PENDING11 Buffer cannot be accessed because a stream reset is in progress.
THREAD_NOT_REGISTERED12
EXCLUSIVE_MODE_NOT_ALLOWED14 The caller is requesting exclusive-mode use of the endpoint device, but the user has disabled exclusive-mode use of the device.
ENDPOINT_CREATE_FAILED15 The method failed to create the audio endpoint for the render or the capture device. This can occur if the audio endpoint device has been unplugged, or the audio hardware or associated hardware resources have been reconfigured, disabled, removed, or otherwise made unavailable for use.
SERVICE_NOT_RUNNING16 The Windows audio service is not running.
EVENTHANDLE_NOT_EXPECTED17 The audio stream was not initialized for event-driven buffering.
EXCLUSIVE_MODE_ONLY18
BUFDURATION_PERIOD_NOT_EQUAL19 The AUDCLNT_STREAMFLAGS_EVENTCALLBACK flag is set but parameters hnsBufferDuration and hnsPeriodicity are not equal.
EVENTHANDLE_NOT_SET20 The audio stream is configured to use event-driven buffering, but the caller has not called IAudioClient::SetEventHandle to set the event handle on the stream.
INCORRECT_BUFFER_SIZE21
BUFFER_SIZE_ERROR22 The stream is exclusive mode and uses event-driven buffering, but the client attempted to get a packet that was not the size of the buffer.
CPUUSAGE_EXCEEDED23 Indicates that the process-pass duration exceeded the maximum CPU usage. The audio engine keeps track of CPU usage by maintaining the number of times the process-pass duration exceeds the maximum CPU usage. The maximum CPU usage is calculated as a percent of the engine's periodicity. The percentage value is the system's CPU throttle value (within the range of 10% and 90%). If this value is not found, then the default value of 40% is used to calculate the maximum CPU usage.
See Also