summaryrefslogtreecommitdiffstats
path: root/audio/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/device.c b/audio/device.c
index 785d0115..884a2661 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -186,7 +186,7 @@ int device_store(struct device *device, gboolean is_default)
if (is_default)
textfile_put(filename, "default", dst_addr);
if (device->headset)
- snprintf(value, 64, "headset");
+ snprintf(value, 64, "headset#%d", headset_get_channel(device));
else if (device->gateway)
snprintf(value, 64, "gateway");
else if (device->sink)