Updated
This commit is contained in:
@@ -15,6 +15,16 @@ class Program
|
||||
{
|
||||
try
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
var devicesTest = await volumeMixer.GetAudioDevicesAsync(DataFlow.Output);
|
||||
var micrphonesTest = await volumeMixer.GetMicrophonesAsync();
|
||||
Console.WriteLine($"Found {devicesTest.Count} playback devices");
|
||||
Console.WriteLine($"Found {micrphonesTest.Count} microphones");
|
||||
await Task.Delay(100);
|
||||
}
|
||||
|
||||
|
||||
// Get all audio PLAYBACK devices
|
||||
var devices = await volumeMixer.GetAudioDevicesAsync(DataFlow.Output);
|
||||
Console.WriteLine($"Found {devices.Count} playback devices:");
|
||||
|
||||
Reference in New Issue
Block a user