IAudioSessionControl2SetDuckingPreference Method
Enables or disables the default stream attenuation experience (auto-ducking) provided by the system.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult SetDuckingPreference(
bool optOut
)
<PreserveSigAttribute>
Function SetDuckingPreference (
optOut As Boolean
) As HResult
Dim instance As IAudioSessionControl2
Dim optOut As Boolean
Dim returnValue As HResult
returnValue = instance.SetDuckingPreference(optOut)
[PreserveSigAttribute]
HResult SetDuckingPreference(
bool optOut
)
[<PreserveSigAttribute>]
abstract SetDuckingPreference :
optOut : bool -> HResult
No code example is currently available or this language may not be supported.
- optOut Boolean
-
A variable that enables or disables system auto-ducking.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.