Microsoft DirectX 9.0


This topic applies to Windows XP only.

The Active property sets or retrieves the currently active audio renderer.


objMSVidCtl.AudioRendererActive As MSVidAudioRenderer


This property takes no parameters.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns an MSVidAudioRenderer object, or Nothing.


This property is read/write. It is set automatically when the Video Control builds the filter graph.

Example Code

Dim objAudioRenderer As MSVidAudioRenderer
Set objAudioRenderer = VideoControl1.AudioRendererActive
If (Not objAudioRenderer Is Nothing) Then
    VolumeLabel.Caption = Str(objAudioRenderer.Volume)
End If

See Also