From 2a2c204cd0e4bcf0a603ba72be9a50203a817b54 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 27 Jun 2007 17:03:07 +0000 Subject: Make storage to also save rfcomm channel, minor fixes to alsa plugin and fixes for service shutdown. --- audio/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/device.c') 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) -- cgit