IAudioClient3::GetCurrentSharedModeEnginePeriod method
Returns the current format and periodicity of the audio engine. This method enables audio clients to match the current period of the audio engine.
Syntax
HRESULT GetCurrentSharedModeEnginePeriod( [out] WAVEFORMATEX **ppFormat, [out] UINT32 *pCurrentPeriodInFrames );
Parameters
- ppFormat [out]
-
Type: WAVEFORMATEX**
The current device format that is being used by the audio engine.
- pCurrentPeriodInFrames [out]
-
Type: UINT32*
The current period of the audio engine, in audio frames.
Return value
Type: HRESULT
This method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.
Remarks
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2016 [desktop apps only] |
|
Header |
|
See also