Dela via


SpatialAudioDeviceConfiguration.IsSpatialAudioFormatSupported(String) Method

Definition

Specifies whether this device can support the given spatial audio format.

public:
 virtual bool IsSpatialAudioFormatSupported(Platform::String ^ subtype) = IsSpatialAudioFormatSupported;
bool IsSpatialAudioFormatSupported(winrt::hstring const& subtype);
public bool IsSpatialAudioFormatSupported(string subtype);
function isSpatialAudioFormatSupported(subtype)
Public Function IsSpatialAudioFormatSupported (subtype As String) As Boolean

Parameters

subtype
String

Platform::String

winrt::hstring

A string of the GUID for the spatial audo format to check. SpatialAudioFormatSubtype enum will return the neccesary strings.

Returns

Boolean

bool

Bool indicating whether the format is supported or not.

Applies to