BB FlashBack SDK: FBRecorder

GetSoundLineVolume

Description

Gets the volume and min, max volume values for a particular source.

Set the volume of the source with the SetSoundLineVolume.

This method should only be used for Windows 2000/XP. When running on Windows Vista, use GetVistaSoundVolumeValue.

Syntax

[C#/C++]
Public void GetSoundLineVolume (long DeviceID, long SourceLineID, long *VolValue, long *VolMin, long *VolMax);

[VB.NET]
public Sub GetSoundLineVolume (ByVal DeviceID as Integer, ByVal SourceLineID As Integer, ByRef VolValue As Integer, ByRef VolMin As Integer, ByRef VolMax As Integer)

Parameters

DeviceID (in): the ID of a device, returned from GetSoundDevice

SourceLineID (in): the LineID of a sound source, returned from GetSoundSource

VolValue (out): the current volume for this source

VolMin (out): the maximum volume for this source

VolMax (out): the minimum volume for this source

See Also

FBRecorder::SetSoundLineVolume  FBRecorder::SetSoundLineMuteValue  FBRecorder::GetSoundLineMuteValue