Audio Capture ActiveX Control

GetPlaybackDeviceName

 

Return the name of Playback Device. (Support on Windows 7, vista, Windows 8, Windows 10 only)

Public Function GetPlaybackDeviceName(
    ByVal iIndex As Integer,
    ) as String

 

Parameter
the index of playback device.

Return Value
Return name of playback device.

Example

   

Visual Basic .Net Syntax
For i = 0 To AxAudioCapture1.GetPlaybackDeviceCount() - 1
Me.cboplaybackdevice.Items.Add(AxAudioCapture1.GetPlaybackDeviceName(i))
Next