PreviewAudioVolumeGet Method (MFileClass)
channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
number of channel. If it is "-1" then method applies to all channel.
channel(s) volume
Gets the audio volume of preview. "0" is for full loudness and "-100" is for silence.
Syntax
Public Overridable Sub PreviewAudioVolumeGet( _
   ByVal _bsChannelID As String, _
   ByVal _nChannel As Integer, _
   ByRef _pdblAttenuationdB As Double _
) 
public virtual void PreviewAudioVolumeGet( 
   string _bsChannelID,
   int _nChannel,
   out double _pdblAttenuationdB
)
public procedure PreviewAudioVolumeGet( 
    _bsChannelID: String;
    _nChannel: Integer;
   Out  _pdblAttenuationdB: Double
); virtual; 
public: virtual void PreviewAudioVolumeGet( 
   BSTR* _bsChannelID,
   int _nChannel,
   [PARAMFLAG::Out] double _pdblAttenuationdB
) 

Parameters

_bsChannelID
channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_nChannel
number of channel. If it is "-1" then method applies to all channel.
_pdblAttenuationdB
channel(s) volume
Example
Dim myVol As Double
m_objPlaylist.PreviewAudioVolumeGet("", -1, myVol)
double myVol;
m_objPlaylist.PreviewAudioVolumeGet("", -1, out myVol);
var
myVol: double;
begin
mPreview.PreviewAudioVolumeGet('', -1, out myVol);
end;
See Also

Reference

MFileClass Class
MFileClass Members