IAudioSessionEventsOnChannelVolumeChanged Method
Notifies the client that the volume level of an audio channel in the session submix has changed.
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 OnChannelVolumeChanged(
uint channelCount,
IntPtr newVolumes,
uint channelIndex,
in Guid refEventContext
)
<PreserveSigAttribute>
Function OnChannelVolumeChanged (
channelCount As UInteger,
newVolumes As IntPtr,
channelIndex As UInteger,
ByRef refEventContext As Guid
) As HResult
Dim instance As IAudioSessionEvents
Dim channelCount As UInteger
Dim newVolumes As IntPtr
Dim channelIndex As UInteger
Dim refEventContext As Guid
Dim returnValue As HResult
returnValue = instance.OnChannelVolumeChanged(channelCount,
newVolumes, channelIndex, refEventContext)
[PreserveSigAttribute]
HResult OnChannelVolumeChanged(
[InAttribute] unsigned int channelCount,
[InAttribute] IntPtr newVolumes,
[InAttribute] unsigned int channelIndex,
[InAttribute] Guid% refEventContext
)
[<PreserveSigAttribute>]
abstract OnChannelVolumeChanged :
channelCount : uint32 *
newVolumes : IntPtr *
channelIndex : uint32 *
refEventContext : Guid byref -> HResult
No code example is currently available or this language may not be supported.
- channelCount UInt32
-
The channel count.
- newVolumes IntPtr
-
An array of volumnes cooresponding with each channel index.
- channelIndex UInt32
-
The number of the channel whose volume level changed.
- refEventContext Guid
-
A user context value that is passed to the notification callback.
HResult
If the method succeeds, it returns
S_OK.
If it fails, it returns an
HResult value.