public async Task InitializeAsync() { client.ActivateAsync(M.MAudioDeviceType.Capture); await initialized.Task; format = client.MixFormat; await Task.Run(() => ClientInitialize()); }
public async Task InitializeAsync() { client.ActivateAsync(M.MAudioDeviceType.Render); await initialized.Task; format = client.MixFormat; ClientInitialize(); }