C# Connection.PlaybackDevice
Something else that I can't work out, but is probably an easy question for someone.
I'd like to display a list of all Playback and Capture devices, so that the end user can select which ones to use.
Similar to how the main Teamspeak client works.
Do I need to gain these from the Operating system or has the TS SDK already got them for me to use?
If the SDK has them, how would I go about getting them and then set them for use in C#?
Im using the below to set and display what is in use at the moment.
Code:
Connection.OpenCapture();
Console.WriteLine($"{Connection.CaptureDevice}");
Connection.OpenPlayback();
Console.WriteLine($"{Connection.PlaybackDevice}");