The PKEY_AudioEngine_DeviceFormat property specifies the device format, which is the format that the user has selected for the stream that flows between the audio engine and the audio endpoint device when the device operates in shared mode. This format might not be the best default format for an exclusive-mode application to use. Typically, an exclusive-mode application finds a suitable device format by making some number of calls to the IAudioClient::IsFormatSupported method. For more information, see Device Formats.

The vt member of the PROPVARIANT structure is set to VT_BLOB.

The blob member of the PROPVARIANT structure is a structure of type BLOB that contains two members. Member blob.cbSize is a DWORD that specifies the number of bytes in the format description. Member blob.pBlobData points to a WAVEFORMATEX structure that contains the format description. For more information about BLOB, see the Windows SDK documentation. For more information about WAVEFORMATEX, see the Windows DDK documentation.


Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Audio Endpoint Properties

Core Audio Properties