Changing the default audio device on Windows looks trivial from the outside and turns out to be a minefield from the inside. The relevant APIs are undocumented, they vary between Windows versions, and public guidance tends to stop where the real problems begin. For Bluetooth audio it is worse: once a device has been paired, Windows offers no clean way to reconnect without going through the Add Device dialog, which triggers the pairing flow all over again.
The wclAudioSwitcher class changes that. It enumerates every audio endpoint on the system, lets the application
pick a default for each role (Console, Multimedia, Communications), reconnects to already paired Bluetooth devices without
re-pairing, and disconnects a specific service of a device without removing the pairing. The same object model covers
USB headsets, HDMI outputs, and internal audio devices — Bluetooth is simply the most interesting case, not the only one.
What makes it genuinely useful is that it exposes the whole audio-routing model as a small set of methods on a single class: enumerate, filter, act. There is no COM ceremony, no version-specific branching, no guesswork about which endpoint will disappear when a device reconnects. Applications can finally do what users have been asking for since Bluetooth audio became common: choose where the sound goes, keep it there, and bring the device back when it drops — all from the application's own UI, without ever sending the user to the Windows sound settings dialog.
What it's good for
Anywhere an application needs to control where audio goes, the switcher earns its keep. A kiosk or POS system can route
customer announcements to one output and operator prompts to a headset, switching between them as the session changes.
A streaming tool can reconfigure routing as a scene change — headphones for monitoring, speakers for the room, a USB
interface for the recording feed — each scene a pair of SetDefault calls. A VoIP or conferencing app can keep
communications on a Bluetooth headset while multimedia plays on the room's speakers, because Windows tracks the two roles
separately and the switcher exposes each role independently.
QA teams use the switcher to automate the full lifecycle of a Bluetooth headset: switch the default, force a disconnect, confirm the app handles the drop gracefully, reconnect without re-pairing, repeat. What used to be a manual dance through the Windows UI becomes a script, and what used to be flaky test runs becomes reproducible. The same pattern works for driver vendors validating firmware and hardware manufacturers checking new products. Shared workstations get a different benefit: each user's devices can be reassigned on login, and headset management utilities can mute the microphone while keeping the audio output alive via the switcher's selective disconnect.
The common thread is that the application decides where audio goes, without asking permission from the user or from the Windows UI. No Add Device dialog, no unpair-and-re-pair dance, no sound settings. The switcher puts routing decisions back where they belong: in the application that actually knows what the user is trying to do.
Why Windows makes this hard
The Windows audio stack is capable, but its public surface has never been designed for applications that want to manage routing directly. The core APIs — IMMDeviceEnumerator, IAudioEndpointVolume, the property stores — are documented enough to be usable, but only just. The pieces an application actually needs are scattered across reference-counted COM interfaces, and the patterns that make them work reliably are not the ones a newcomer would guess.
Bluetooth makes it worse. Pairing is well supported: the Add Device dialog handles it and everything works. But the moment the device disconnects — a headset going out of range, a speaker turned off, a laptop suspending — Windows offers no user-facing way to bring it back. The Add Device dialog is designed for pairing, not for reconnecting, and there is no equivalent of a "Connect" button for an already-paired device. Users end up doing the only thing the UI allows: unpair, then pair again. That works, but it costs the device nickname, per-device settings, and any application state tied to the pairing, and it triggers the full pairing flow. For a device that drops occasionally, annoying. For one that drops often, unacceptable.
The selective-disconnect problem is the flip side. A two-in-one headset exposes two services — A2DP for audio output, HFP or HSP for the microphone. There are legitimate reasons to want only one at a time: keep listening to music while muting the microphone, keep the microphone active while routing audio to better speakers. But the Windows UI has no concept of per-service control. The only disconnect option is "Remove device," which drops both services and loses the pairing.
What the switcher offers is a way past these limitations without reimplementing the platform. The class sits between the application and the Windows audio stack, presents a coherent model of endpoints and roles, and provides the two capabilities the platform does not: reconnect without re-pairing, and selective disconnect without unpairing.
Inside the workflow
The workflow starts with Open, which connects the switcher to the Windows audio service and prepares it for
enumeration and role changes. From there, Enum produces a list of endpoints matching the requested state
filter. The usual choice is asActive for devices that are currently available, and asUnplugged for
paired-but-disconnected Bluetooth devices that the application wants to bring back online. Each returned item is an
wclAudioDevice with all of its properties populated.
The properties are what the application filters on. Id is the system identifier — the value passed to
SetDefault and to the volume and meter classes. FriendlyName and Description are what
the user sees. Flow distinguishes Render (output) from Capture (input). Roles reports which default
roles the device currently serves. State reports Active, Disabled, Not Present, or Unplugged — and Unplugged
is precisely what makes it possible to find a paired Bluetooth device that is currently disconnected. For Bluetooth
devices, MAC and Service are also populated: the MAC identifies the physical device, and the
Service UUID distinguishes the A2DP audio service from the HFP/HSP microphone services on a two-in-one headset.
With the list in hand, the application filters to the device it cares about — usually by MAC address or friendly name —
and then takes one of three actions. For a device that should become the default for a role, SetDefault with
the role and the device ID is all that is needed; repeat per role if the application wants different defaults for
Multimedia, Communications, and Console. For a paired Bluetooth device that is currently disconnected, Connect
brings it back online without touching the pairing. For a specific service that should be dropped without affecting the
others, the switcher can disconnect just that service.
The role model is what makes the switcher more than a glorified "set default" API. Windows tracks three separate defaults — Console (games), Multimedia (media players and most apps), and Communications (VoIP and conferencing). A device can be default for one role and not the others, which is exactly what enables workflows like "calls on the headset, music on the speakers." The switcher exposes each role independently, so an application can build routing scenes, restore previous configurations, and switch profiles without re-querying the system each time.
Reconnecting without re-pairing
The reconnect scenario is the one users have complained about for as long as Bluetooth audio has existed. A paired headset goes out of range, or the user turns it off, or the machine suspends and resumes. When the headset comes back, Windows shows it in the device list — but greyed out, or simply not connected, with no obvious way to bring it back online. The only option the UI offers is the Add Device dialog, which is designed for pairing and behaves accordingly.
wclAudioSwitcher provides the missing option. After enumerating with the asUnplugged state
filter, the application finds the target device by MAC address or friendly name and calls Connect. The
system connects to the selected device, preserves the pairing, and — if the application wants — sets it as the default
audio device. The whole flow happens inside the application's own UI, without a Windows dialog and without the user
having to re-pair anything.
Under the hood, the class does what a well-written audio application would do if it had the right APIs: locate the
endpoint by MAC, request a connection through the Bluetooth stack, wait for completion, return control. The difference is
that it all happens through one method call on one object instead of a pile of COM interfaces. Applications that need to
handle reconnection automatically — a conferencing client that wants to switch back to the headset when it reappears, a
monitoring tool that reconnects after a power blip — can watch for state changes, decide when to reconnect, and call
Connect at the right moment. The class does not require polling and does not force a particular reconnect
policy on the caller.
Disconnecting without unpairing
The selective-disconnect scenario is less famous than reconnect, but just as important. A two-in-one headset exposes two Bluetooth services: A2DP for high-quality audio output, and HFP or HSP for the microphone. Most of the time the application wants both. But there are legitimate reasons to want only one: keep listening to music while muting the microphone, keep the microphone active for a call while routing audio to better speakers, or silence the microphone during a recording without disabling the playback path.
The Windows UI offers no way to do this. The only disconnect option is "Remove device," which removes the entire pairing and drops both services at once. To get one service back, the user has to re-pair.
wclAudioSwitcher provides the missing capability. After enumerating the paired device, the application inspects
the Service property of each endpoint to distinguish A2DP from HFP/HSP, and then disconnects only the service
it wants to drop. The other service stays connected, the pairing stays intact, and the device remains visible for future
connections. A headset management utility can offer a "mute microphone" button that actually mutes the microphone — not
a "disconnect everything" button that leaves the user with no audio at all. A conferencing client can drop A2DP during a
call to prioritize HFP bandwidth and restore A2DP afterwards. A QA test can verify that the firmware handles service-level
disconnects correctly without resetting the pairing between runs.
Getting it right
A few patterns make the difference between an application that uses the switcher correctly and one that fights it. First, identify devices by MAC address rather than endpoint ID. The ID assigned to a Bluetooth device can change between connections — Windows sometimes treats a reconnect as a new device — so an application that caches the ID and expects it to remain stable will eventually be disappointed. The MAC address is stable across reconnects and is the right value to persist.
Second, handle state transitions gracefully. A Bluetooth device moves between Active, Unplugged, Disabled, and Not Present
as the user turns it on, takes it out of range, or plugs in a USB receiver. Active devices are ready to use, Unplugged
devices can be reconnected with Connect, Disabled devices need the user to enable them through the system, and
Not Present devices are effectively gone. Applications that treat all states the same tend to produce confusing errors
and unhelpful UI.
Third, re-enumerate after state changes rather than caching the full list. The audio stack generates new endpoint IDs whenever devices change, and a cached list will slowly drift out of sync. Re-enumeration is cheap — milliseconds — and the switcher is designed to be called repeatedly. Applications that re-enumerate on demand stay accurate without any extra bookkeeping.
Fourth, be careful with SetDefault on devices that are not currently available. Setting a disconnected
device as the default produces a system state that looks correct but behaves badly: the user sees the device as default
in the sound settings, but no audio actually comes out because the device is not connected. Only call
SetDefault on devices whose State is Active, or reconnect first and then set the default.
Fifth, treat role assignment as configuration, not as a one-time action. Users change their audio setup frequently —
plugging in a headset, docking a laptop, connecting a Bluetooth speaker — and applications that watch for device changes
and re-apply their routing preferences stay useful across those changes.
Using the switcher
The snippets below are excerpts from the AudioSwitcher sample shipped with the Bluetooth Framework. Each tab
shows the same scenario in the corresponding language.
Enumerate the endpoints and set the default
Open the switcher, enumerate the active audio devices, and set a new default device for the multimedia role.
var
Switcher: TwclAudioSwitcher;
begin
Switcher := TwclAudioSwitcher.Create(nil);
try
Switcher.Open;
var Devices: TwclAudioDevices;
Switcher.Enum([asActive], Devices);
for var Device in Devices do
Log(Device.FriendlyName);
Switcher.SetDefault(drMultimedia, Devices[0].Id);
finally
Switcher.Close;
Switcher.Free;
end;
end;
TwclAudioSwitcher* Switcher = new TwclAudioSwitcher(NULL);
try
{
Switcher->Open();
TwclAudioDevices Devices;
Switcher->Enum(TwclAudioDeviceStates() << asActive,
Devices);
for (int i = 0; i < Devices.Length; i++)
Log(Devices[i].FriendlyName);
Switcher->SetDefault(drMultimedia, Devices[0].Id);
}
__finally
{
Switcher->Close();
delete Switcher;
}
wclAudioSwitcher Switcher = new wclAudioSwitcher();
try
{
Switcher.Open();
wclAudioDevice[] Devices;
Switcher.Enum(wclAudioDeviceState.asActive,
out Devices);
foreach (wclAudioDevice Device in Devices)
Log(Device.FriendlyName);
Switcher.SetDefault(
wclAudioDeviceRole.drMultimedia, Devices[0].Id);
}
finally
{
Switcher.Close();
}
Dim Switcher As New wclAudioSwitcher()
Try
Switcher.Open()
Dim Devices As wclAudioDevice() = Nothing
Switcher.Enum(wclAudioDeviceState.asActive, Devices)
For Each Device As wclAudioDevice In Devices
Log(Device.FriendlyName)
Next
Switcher.SetDefault(
wclAudioDeviceRole.drMultimedia, Devices(0).Id)
Finally
Switcher.Close()
End Try
CwclAudioSwitcher Switcher;
Switcher.Open();
wclAudioDevices Devices;
Switcher.Enum(wclAudioDeviceStates{ asActive }, Devices);
for (auto& Device : Devices)
Log(Device.FriendlyName);
Switcher.SetDefault(drMultimedia, Devices[0].Id);
Switcher.Close();
Filter by device state
Filter the enumeration by state. Combining asActive and asUnplugged is the usual pattern when
looking for paired Bluetooth devices that are currently disconnected and could be brought back online.
var
States: TwclAudioDeviceStates;
Devices: TwclAudioDevices;
begin
States := [];
if cbActive.Checked then
States := States + [asActive];
if cbUnplugged.Checked then
States := States + [asUnplugged];
if wclAudioSwitcher.Enum(States, Devices) = WCL_E_SUCCESS then
for var Device in Devices do
Log(Device.FriendlyName);
end;
TwclAudioDeviceStates States;
if (cbActive->Checked)
States << asActive;
if (cbUnplugged->Checked)
States << asUnplugged;
TwclAudioDevices Devices;
if (wclAudioSwitcher->Enum(States, Devices) == WCL_E_SUCCESS)
{
for (int i = 0; i < Devices.Length; i++)
Log(Devices[i].FriendlyName);
}
wclAudioDeviceState States = 0;
if (cbActive.Checked)
States |= wclAudioDeviceState.asActive;
if (cbUnplugged.Checked)
States |= wclAudioDeviceState.asUnplugged;
wclAudioDevice[] Devices;
if (Switcher.Enum(States, out Devices) == wclErrors.WCL_E_SUCCESS)
{
foreach (wclAudioDevice Device in Devices)
Log(Device.FriendlyName);
}
Dim States As wclAudioDeviceState = 0
If cbActive.Checked Then States = States Or wclAudioDeviceState.asActive
If cbUnplugged.Checked Then States = States Or wclAudioDeviceState.asUnplugged
Dim Devices As wclAudioDevice() = Nothing
If Switcher.Enum(States, Devices) = wclErrors.WCL_E_SUCCESS Then
For Each Device As wclAudioDevice In Devices
Log(Device.FriendlyName)
Next
End If
wclAudioDeviceStates States;
if (cbActive.GetCheck()) States.insert(asActive);
if (cbUnplugged.GetCheck()) States.insert(asUnplugged);
wclAudioDevices Devices;
if (Switcher.Enum(States, Devices) == WCL_E_SUCCESS)
{
for (wclAudioDevices::iterator Device = Devices.begin();
Device != Devices.end(); Device++)
Log(Device->FriendlyName.c_str());
}
Reconnect a paired device
Connect accepts either an endpoint ID or a Bluetooth MAC address. The snippet below reconnects by MAC, which is
the stable identifier to persist across reconnects; passing the endpoint ID works the same way.
var
Res: Integer;
begin
Res := wclAudioSwitcher.Connect(
StrToInt64('$' + lvDevices.Selected.SubItems[5]));
if Res <> WCL_E_SUCCESS then
ShowMessage('Connect error: 0x' + IntToHex(Res, 8));
end;
int Res;
Res = wclAudioSwitcher->Connect(
StrToInt64("$" + lvDevices->Selected->SubItems->Strings[5]));
if (Res != WCL_E_SUCCESS)
ShowMessage("Connect error: 0x" + IntToHex(Res, 8));
Int32 Res;
Res = Switcher.Connect(Convert.ToInt64(
lvDevices.SelectedItems[0].SubItems[6].Text, 16));
if (Res != wclErrors.WCL_E_SUCCESS)
MessageBox.Show("Connect error: 0x" + Res.ToString("X8"));
Dim Res As Int32
Res = Switcher.Connect(Convert.ToInt64(
lvDevices.SelectedItems(0).SubItems(6).Text, 16))
If Res <> wclErrors.WCL_E_SUCCESS Then
MessageBox.Show("Connect error: 0x" + Res.ToString("X8"))
End If
int Res;
int Item = lvDevices.GetNextSelectedItem(Pos);
CString Mac = lvDevices.GetItemText(Item, 6);
Res = Switcher.Connect(_tcstoi64(Mac, NULL, 16));
if (Res != WCL_E_SUCCESS)
AfxMessageBox(_T("Connect error: 0x") + IntToHex(Res));
Disconnect a paired device or service
Disconnect accepts the same identifiers as Connect. Selecting the endpoint that carries the
HFP/HSP service drops only that service; A2DP stays connected and the pairing is preserved.
var
Res: Integer;
begin
Res := wclAudioSwitcher.Disconnect(
StrToInt64('$' + lvDevices.Selected.SubItems[5]));
if Res <> WCL_E_SUCCESS then
ShowMessage('Disconnect error: 0x' + IntToHex(Res, 8));
end;
int Res;
Res = wclAudioSwitcher->Disconnect(
StrToInt64("$" + lvDevices->Selected->SubItems->Strings[5]));
if (Res != WCL_E_SUCCESS)
ShowMessage("Disconnect error: 0x" + IntToHex(Res, 8));
Int32 Res;
Res = Switcher.Disconnect(Convert.ToInt64(
lvDevices.SelectedItems[0].SubItems[6].Text, 16));
if (Res != wclErrors.WCL_E_SUCCESS)
MessageBox.Show("Disconnect error: 0x" + Res.ToString("X8"));
Dim Res As Int32
Res = Switcher.Disconnect(Convert.ToInt64(
lvDevices.SelectedItems(0).SubItems(6).Text, 16))
If Res <> wclErrors.WCL_E_SUCCESS Then
MessageBox.Show("Disconnect error: 0x" + Res.ToString("X8"))
End If
int Res;
int Item = lvDevices.GetNextSelectedItem(Pos);
CString Mac = lvDevices.GetItemText(Item, 6);
Res = Switcher.Disconnect(_tcstoi64(Mac, NULL, 16));
if (Res != WCL_E_SUCCESS)
AfxMessageBox(_T("Disconnect error: 0x") + IntToHex(Res));
Query the current default
Read back the default device for a given role and flow. Useful for building routing scenes that restore the previous configuration when a profile ends.
var
Role: TwclAudioDeviceRole;
Flow: TwclAudioDeviceDataFlow;
Id: string;
begin
case cbRole.ItemIndex of
0: Role := drConsole;
1: Role := drMultimedia;
else Role := drCommunications;
end;
if cbFlow.ItemIndex = 0 then
Flow := dfCapture
else
Flow := dfRender;
if wclAudioSwitcher.GetDefault(Role, Flow, Id) = WCL_E_SUCCESS then
ShowMessage('Default device ID: ' + Id);
end;
TwclAudioDeviceRole Role;
switch (cbRole->ItemIndex)
{
case 0: Role = drConsole; break;
case 1: Role = drMultimedia; break;
default: Role = drCommunications; break;
}
TwclAudioDeviceDataFlow Flow;
if (cbFlow->ItemIndex == 0)
Flow = dfCapture;
else
Flow = dfRender;
String Id;
int Res = wclAudioSwitcher->GetDefault(Role, Flow, Id);
if (Res == WCL_E_SUCCESS)
ShowMessage("Default device ID: " + Id);
wclAudioDeviceRole Role;
switch (cbRole.SelectedIndex)
{
case 0: Role = wclAudioDeviceRole.drConsole; break;
case 1: Role = wclAudioDeviceRole.drMultimedia; break;
default: Role = wclAudioDeviceRole.drCommunications; break;
}
wclAudioDeviceDataFlow Flow;
if (cbFlow.SelectedIndex == 0)
Flow = wclAudioDeviceDataFlow.dfCapture;
else
Flow = wclAudioDeviceDataFlow.dfRender;
String Id;
Int32 Res = Switcher.GetDefault(Role, Flow, out Id);
if (Res == wclErrors.WCL_E_SUCCESS)
MessageBox.Show("Default device ID: " + Id);
Dim Role As wclAudioDeviceRole
Select cbRole.SelectedIndex
Case 0: Role = wclAudioDeviceRole.drConsole
Case 1: Role = wclAudioDeviceRole.drMultimedia
Case Else: Role = wclAudioDeviceRole.drCommunications
End Select
Dim Flow As wclAudioDeviceDataFlow
If cbFlow.SelectedIndex = 0 Then
Flow = wclAudioDeviceDataFlow.dfCapture
Else
Flow = wclAudioDeviceDataFlow.dfRender
End If
Dim Id As String = ""
Dim Res As Integer = Switcher.GetDefault(Role, Flow, Id)
If Res = wclErrors.WCL_E_SUCCESS Then
MessageBox.Show("Default device ID: " + Id)
End If
wclAudioDeviceRole Role;
switch (cbRole.GetCurSel())
{
case 0: Role = drConsole; break;
case 1: Role = drMultimedia; break;
default: Role = drCommunications; break;
}
wclAudioDeviceDataFlow Flow;
if (cbFlow.GetCurSel() == 0)
Flow = dfCapture;
else
Flow = dfRender;
tstring Id;
int Res = Switcher.GetDefault(Role, Flow, Id);
if (Res == WCL_E_SUCCESS)
{
CString s = _T("Default device ID: ");
s += Id.c_str();
AfxMessageBox(s);
}
React to state changes
The switcher raises OnStateChanged whenever an endpoint moves between Active, Disabled, Not Present, and
Unplugged. This is the hook to drive an automatic reconnect policy: when a previously-known headset returns, call
Connect.
procedure TfmMain.wclAudioSwitcherStateChanged(Sender: TObject;
const Id: String; const State: TwclAudioDeviceState);
var
Str: string;
begin
case State of
asActive: Str := 'Active';
asDisabled: Str := 'Disabled';
asNotPresent: Str := 'NotPresent';
asUnplugged: Str := 'Unplugged';
end;
lbLog.Items.Add('Device ' + Id + ' state changed: ' + Str);
end;
void __fastcall TfmMain::wclAudioSwitcherStateChanged(TObject *Sender,
const String Id, const TwclAudioDeviceState State)
{
String Str;
switch (State)
{
case asActive: Str = "Active"; break;
case asDisabled: Str = "Disabled"; break;
case asNotPresent: Str = "NotPresent"; break;
case asUnplugged: Str = "Unplugged"; break;
}
lbLog->Items->Add("Device " + Id + " state changed: " + Str);
}
private void Switcher_OnStateChanged(Object Sender, String Id,
wclAudioDeviceState State)
{
String Str = "";
switch (State)
{
case wclAudioDeviceState.asActive: Str = "Active"; break;
case wclAudioDeviceState.asDisabled: Str = "Disabled"; break;
case wclAudioDeviceState.asNotPresent: Str = "NotPresent"; break;
case wclAudioDeviceState.asUnplugged: Str = "Unplugged"; break;
}
lbLog.Items.Add("Device " + Id + " state changed: " + Str);
}
Private Sub Switcher_OnStateChanged(Sender As Object, Id As String,
State As wclAudio.wclAudioDeviceState) Handles Switcher.OnStateChanged
Dim Str As String = ""
Select Case State
Case wclAudioDeviceState.asActive: Str = "Active"
Case wclAudioDeviceState.asDisabled: Str = "Disabled"
Case wclAudioDeviceState.asNotPresent: Str = "NotPresent"
Case wclAudioDeviceState.asUnplugged: Str = "Unplugged"
End Select
lbLog.Items.Add("Device " + Id + " state changed: " + Str)
End Sub
void CAudioSwitcherDlg::SwitcherStateChanged(void* Sender,
const tstring& Id, const wclAudioDeviceState State)
{
CString Str;
switch (State)
{
case asActive: Str = _T("Active"); break;
case asDisabled: Str = _T("Disabled"); break;
case asNotPresent: Str = _T("NotPresent"); break;
case asUnplugged: Str = _T("Unplugged"); break;
}
lbLog.AddString(_T("Device ") + CString(Id.c_str())
+ _T(" state changed: ") + Str);
}
Frequently asked questions
- How to switch the default Bluetooth audio device programmatically?
- Use the
wclAudioSwitcherclass from the Bluetooth Framework to enumerate audio devices and set the default for the multimedia, communications, or console role. - How to reconnect to an already paired Bluetooth audio device?
- The Bluetooth Framework provides a unique feature to reconnect to a paired Bluetooth
audio device without using the Windows Add Device dialog or re-pairing. The
AudioSwitchersample demonstrates the flow. - Why can't I reconnect a paired Bluetooth device through the Windows UI?
- Windows only offers the Add Device dialog, which is designed for pairing, not for reconnecting an already-paired device.
Once a device is paired, Windows provides no user-facing way to initiate a new connection without triggering the pairing
flow, which is why users often resort to unpairing and re-pairing. The
wclAudioSwitcherclass bypasses this by reconnecting directly to the paired device. - How do I disconnect only the microphone of a headset, keeping the speaker connected?
- Use the switcher to disconnect the specific service (HFP or HSP for the microphone) without touching the A2DP service
that carries the audio output. The
AudioSwitchersample demonstrates how to disconnect one service of a two-in-one headset while leaving the other service connected. - Does the switcher work with non-Bluetooth audio devices?
- Yes. The switcher enumerates all audio endpoints in the system, not only Bluetooth ones. The Bluetooth-specific properties
(
MACandService) are simply empty for non-Bluetooth devices. The same API can switch between USB headsets, HDMI outputs, and internal audio devices. - What is the difference between Console, Multimedia, and Communications roles?
- Windows assigns a default device for each role separately. Console (games) is used by full-screen games, Multimedia by media players and most applications, and Communications by VoIP and conferencing apps. A device can be default for one role and not another, which is what enables workflows such as routing calls to a headset while music plays on speakers.