MFORMATSLib Namespace > IMPreview Interface : PreviewAudioVolumeGet Method |
Sub PreviewAudioVolumeGet( _ ByVal _bsChannelID As String, _ ByVal _nChannel As Integer, _ ByRef _pdblAttenuationdB As Double _ )
void PreviewAudioVolumeGet( string _bsChannelID, int _nChannel, out double _pdblAttenuationdB )
procedure PreviewAudioVolumeGet( _bsChannelID: String; _nChannel: Integer; Out _pdblAttenuationdB: Double );
void PreviewAudioVolumeGet( BSTR* _bsChannelID, int _nChannel, [PARAMFLAG::Out] double _pdblAttenuationdB )
Here is an example of how to get audio volume for all the channels:
// Volume in dB // 0 - full volume, -100 silence double dblVol; m_objPreview.PreviewAudioVolumeSet("", -1, out dblVol);