共用方式為


IBasicAudio Object

 
Microsoft DirectShow 9.0

IBasicAudio Object

  • Note   This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.

The IBasicAudio object supports the audio component of the filter graph. It allows access to volume and balance functionality. To use this object, declare a variable of type IBasicAudio and set it equal to the FilgraphManager object:

Dim mGraph As New FilgraphManager
Dim iAudio As IBasicAudio
Set iAudio = mGraph

Requirements

Include a reference in your project to "ActiveMovie control type library" (Quartz.dll).

The IBasicAudio object exposes the following properties.

Property Description
Balance Sets or retrieves the audio balance.
Volume Sets or retrieves the audio volume.