Skip to content

Latest commit

 

History

History
108 lines (86 loc) · 4.02 KB

nf-endpointvolume-iaudioendpointvolume-getchannelvolumelevel.md

File metadata and controls

108 lines (86 loc) · 4.02 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:endpointvolume.IAudioEndpointVolume.GetChannelVolumeLevel
IAudioEndpointVolume::GetChannelVolumeLevel (endpointvolume.h)
The GetChannelVolumeLevel method gets the volume level, in decibels, of the specified channel in the audio stream that enters or leaves the audio endpoint device.
GetChannelVolumeLevel
GetChannelVolumeLevel method [Core Audio]
GetChannelVolumeLevel method [Core Audio]
IAudioEndpointVolume interface
IAudioEndpointVolume interface [Core Audio]
GetChannelVolumeLevel method
IAudioEndpointVolume.GetChannelVolumeLevel
IAudioEndpointVolume::GetChannelVolumeLevel
IAudioEndpointVolumeGetChannelVolumeLevel
coreaudio.iaudioendpointvolume_getchannelvolumelevel
endpointvolume/IAudioEndpointVolume::GetChannelVolumeLevel
coreaudio\iaudioendpointvolume_getchannelvolumelevel.htm
CoreAudio
3c5b594f-60b5-4172-8e4e-440b51cb13f4
12/05/2018
GetChannelVolumeLevel, GetChannelVolumeLevel method [Core Audio], GetChannelVolumeLevel method [Core Audio],IAudioEndpointVolume interface, IAudioEndpointVolume interface [Core Audio],GetChannelVolumeLevel method, IAudioEndpointVolume.GetChannelVolumeLevel, IAudioEndpointVolume::GetChannelVolumeLevel, IAudioEndpointVolumeGetChannelVolumeLevel, coreaudio.iaudioendpointvolume_getchannelvolumelevel, endpointvolume/IAudioEndpointVolume::GetChannelVolumeLevel
endpointvolume.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Windows
19H1
IAudioEndpointVolume::GetChannelVolumeLevel
endpointvolume/IAudioEndpointVolume::GetChannelVolumeLevel
c++
APIRef
kbSyntax
COM
Endpointvolume.h
IAudioEndpointVolume.GetChannelVolumeLevel

IAudioEndpointVolume::GetChannelVolumeLevel

-description

The GetChannelVolumeLevel method gets the volume level, in decibels, of the specified channel in the audio stream that enters or leaves the audio endpoint device.

-parameters

-param nChannel [in]

The channel number. If the audio stream has n channels, the channels are numbered from 0 to n– 1. To obtain the number of channels in the stream, call the IAudioEndpointVolume::GetChannelCount method.

-param pfLevelDB [out]

Pointer to a float variable into which the method writes the volume level in decibels. To get the range of volume levels obtained from this method, call the IAudioEndpointVolume::GetVolumeRange method.

-returns

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_INVALIDARG
Parameter nChannel is greater than or equal to the number of channels in the stream.
E_POINTER
Parameter pfLevelDB is NULL.

-see-also

IAudioEndpointVolume Interface

IAudioEndpointVolume::GetChannelCount

IAudioEndpointVolume::GetVolumeRange