GetVideoVolume (DVR version only)
Top  Previous  Next

Description

Returns the volume level of the currently open AVI file.


Syntax


[VB]
Value=objActiveGeni.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.

ActiveGeni.OpenVideo "C:\\video1.avi", 
True

MsgBox ActiveGeni1.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.