Viscom Software SoundVolume ActiveX Control

W7GetSpeakersName method

Description:   

Get the name of speaker for specific index. (this method support on windows 10, windows 8, windows 7 and vista only).

Usage:   

SoundVolume1.W7GetSpeakersName

Parameters:   

iIndex - the index of speakers, first index is zero.

Return Type:   

String - the name of speaker

Example:   

 For i = 0 To Me.SoundVolume1.W7GetMicrophonesCount() - 1
Me.Combo1.AddItem Me.SoundVolume1.W7GetMicrophonesName(i)
Next

For i = 0 To Me.SoundVolume1.W7GetSpeakersCount() - 1
Me.Combo1.AddItem Me.SoundVolume1.W7GetSpeakersName(i)
Next