Mercurial > audlegacy-plugins
changeset 2870:c3df7556d85a
restoring the default ocm device at cleanup
author | Paula Stanciu <paula.stanciu@gmail.com> |
---|---|
date | Thu, 07 Aug 2008 12:33:57 +0300 |
parents | 638c3d599f20 |
children | 455e6e37feae |
files | src/bluetooth/bluetooth.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bluetooth/bluetooth.c Thu Aug 07 12:12:12 2008 +0300 +++ b/src/bluetooth/bluetooth.c Thu Aug 07 12:33:57 2008 +0300 @@ -80,6 +80,11 @@ disconnect_dbus_signals(); } + /* switching back to default pcm device at cleanup */ + mcs_handle_t *cfgfile = aud_cfg_db_open(); + aud_cfg_db_set_string(cfgfile,"ALSA","pcm_device", "default"); + aud_cfg_db_close(cfgfile); + } void bt_about( void )