diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-06-27 17:03:07 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-06-27 17:03:07 +0000 |
commit | 2a2c204cd0e4bcf0a603ba72be9a50203a817b54 (patch) | |
tree | 89877d800ecb1051ce27440c34524ec7cad1a961 /audio/device.c | |
parent | c205cc889023e733e56365e82dfbaad2d2b46942 (diff) |
Make storage to also save rfcomm channel, minor fixes to alsa plugin and fixes for service shutdown.
Diffstat (limited to 'audio/device.c')
-rw-r--r-- | audio/device.c | 2 |
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) |