共用方式為


IBasicAudio.Volume

 
Microsoft DirectShow 9.0

IBasicAudio.Volume

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

The Volume property sets or retrieves the audio volume.

Syntax

  objAudio
  .Volume As Long

Parameters

This property takes no parameters.

Return Values

Returns a value from –10,000 (silence) to 0 (full volume). Each unit corresponds to .01 decibels. Not all devices support 10,000 distinct volume levels.

Remarks

This property is read/write.

If you set this property to values outside the specified range, the object raises run-time error 5.

Requirements

Reference: Add a reference to ActiveMovie control type library.

Library: Quartz.dll.

See Also