GetVideoVolume (DVR version only)
Description
Returns the volume level of the currently open AVI file.
Syntax
[VB]
Value=objActiveGige.GetVideoVolume
[C/C++]
HRESULT GetVideoVolume(short* pValue );
Data Types
[VB]
Return value
: Integer
Parameters
[C/C++]
pValue
[out,retval]
Pointer to the current volume, in percent.
Return Values
S_OK
Success
E_FAIL
Failure
Example
This VB example displays the volume of the currently open video file.
ActiveGige.OpenVideo "C:\\video1.avi",
True
MsgBox ActiveGige1.GetVideoVolume
Remarks
In order for this method to work, the AVI file must be recorded with the sound and
opened
with the sound option enabled.