Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A version of this page is also available for
4/8/2010
This method sets the volume (amplitude) of the audio signal.
Syntax
HRESULT put_Volume(
long lVolume
);
Parameters
lVolume
[in] Value to which to set the Volume property.The allowable input range is –10,000 to 0.
Return Value
Returns an HRESULT value.
E_INVALIDARG is returned for values outside the allowable input range and E_FAIL is returned if the underlying device returns an error.
Remarks
Full volume is 0, and –10,000 is silence; the scale is logarithmic.
Multiply the desired decibel level by 100 (for example –10,000 = –100 dB).
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Windows Mobile | Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |