AudioClientReturnCodes Enumeration |
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public enum AudioClientReturnCodes
Public Enumeration AudioClientReturnCodes
public enum class AudioClientReturnCodes
type AudioClientReturnCodes
Members
| Member name | Value | Description |
---|
| S_OK | 0 |
S_OK
|
| S_FALSE | 1 |
S_FALSE
|
| NOT_INITIALIZED | 1 |
The audio stream has not been successfully initialized.
|
| ALREADY_INITIALIZED | 2 |
The IAudioClient object is already initialized.
|
| WRONG_ENDPOINT_TYPE | 3 |
The caller tried to access an IAudioCaptureClient interface on a rendering endpoint, or an IAudioRenderClient interface on a capture endpoint.
|
| DEVICE_INVALIDATED | 4 |
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_STOPPED | 5 |
The audio stream was not stopped at the time the call was made.
|
| BUFFER_TOO_LARGE | 6 |
The NumFramesRequested value exceeds the available buffer space (buffer size minus padding size).
|
| OUT_OF_ORDER | 7 |
A previous IAudioRenderClient::GetBuffer call is still in effect.
|
| UNSUPPORTED_FORMAT | 8 |
The audio engine (shared mode) or audio endpoint device (exclusive mode) does not support the specified format.
|
| INVALID_SIZE | 9 | |
| DEVICE_IN_USE | 10 |
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_PENDING | 11 |
Buffer cannot be accessed because a stream reset is in progress.
|
| THREAD_NOT_REGISTERED | 12 | |
| EXCLUSIVE_MODE_NOT_ALLOWED | 14 |
The caller is requesting exclusive-mode use of the endpoint device, but the user has disabled exclusive-mode use of the device.
|
| ENDPOINT_CREATE_FAILED | 15 |
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_RUNNING | 16 |
The Windows audio service is not running.
|
| EVENTHANDLE_NOT_EXPECTED | 17 |
The audio stream was not initialized for event-driven buffering.
|
| EXCLUSIVE_MODE_ONLY | 18 | |
| BUFDURATION_PERIOD_NOT_EQUAL | 19 |
The AUDCLNT_STREAMFLAGS_EVENTCALLBACK flag is set but parameters hnsBufferDuration and hnsPeriodicity are not equal.
|
| EVENTHANDLE_NOT_SET | 20 |
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_SIZE | 21 | |
| BUFFER_SIZE_ERROR | 22 |
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_EXCEEDED | 23 |
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