共用方式為


IBasicAudio Interface

 
Microsoft DirectShow 9.0

IBasicAudio Interface

The IBasicAudio interface controls the volume and balance of the audio stream.

This interface is implemented on the Audio Renderer (WaveOut) filter and the DirectSound Renderer filter, but is exposed to applications through the Filter Graph Manager. Applications should always retrieve this interface from the Filter Graph Manager.

In addition to the methods inherited from IDispatch, the IBasicAudio interface exposes the following methods.

Method Description
get_Balance Retrieves the balance for the audio signal.
get_Volume Retrieves the volume (amplitude) of the audio signal.
put_Balance Sets the balance for the audio signal.
put_Volume Sets the volume (amplitude) of the audio signal.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.