private void SetDefaultAudioEndPoint(string devId) { PolicyConfigClient client = new PolicyConfigClient(); client.SetDefaultEndpoint(devId, ERole.eConsole); client.SetDefaultEndpoint(devId, ERole.eMultimedia); client.SetDefaultEndpoint(devId, ERole.eCommunications); LoadDevices(); }
private void SetDefaultAudioEndPoint(string devId) { PolicyConfigClient client = new PolicyConfigClient(); client.SetDefaultEndpoint(devId,ERole.eConsole); client.SetDefaultEndpoint(devId,ERole.eMultimedia); client.SetDefaultEndpoint(devId, ERole.eCommunications); LoadDevices(); }