Share via


AudioEffectsPackConfiguration.GetForDeviceId(String, String) Method

Definition

Gets an instance of the AudioEffectsPackConfiguration class for the specified audio effects pack and audio endpoint.

public:
 static AudioEffectsPackConfiguration ^ GetForDeviceId(Platform::String ^ effectsPackId, Platform::String ^ deviceId);
 static AudioEffectsPackConfiguration GetForDeviceId(winrt::hstring const& effectsPackId, winrt::hstring const& deviceId);
public static AudioEffectsPackConfiguration GetForDeviceId(string effectsPackId, string deviceId);
function getForDeviceId(effectsPackId, deviceId)
Public Shared Function GetForDeviceId (effectsPackId As String, deviceId As String) As AudioEffectsPackConfiguration

Parameters

effectsPackId
String

Platform::String

winrt::hstring

The OEM-specified audio effects pack ID associated with the new AudioEffectsPackConfiguration object.

deviceId
String

Platform::String

winrt::hstring

The device ID associated with the new AudioEffectsPackConfiguration object.

Returns

A new instance of AudioEffectsPackConfiguration.

Remarks

A given AudioEffectsPackConfiguration object represents a single effects pack on a single endpoint. Applications must create an AudioEffectsPackConfiguration instance for each effects pack, audio endpoint pair they want to query.

Applies to