IAudioFormatEnumerator::GetFormat method (spatialaudioclient.h)

Gets the format with the specified index in the list. The formats are listed in order of importance. The most preferable format is first in the list.

Syntax

HRESULT GetFormat(
  UINT32       index,
  WAVEFORMATEX **format
);

Parameters

index

The index of the item in the list to retrieve.

format

Pointer to a pointer to a WAVEFORMATEX structure describing a supported audio format.

Return value

If the method succeeds, it returns S_OK.

Requirements

   
Target Platform Windows
Header spatialaudioclient.h

See also

IAudioFormatEnumerator