summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@jollamobile.com>2012-09-06 15:47:17 +0300
committerJaska Uimonen <jaska.uimonen@intel.com>2013-01-24 09:29:35 +0200
commit4ad72ea127b411a16d64f9128ac5c5d5fb555b05 (patch)
tree720b9e3a3eb01388ed3bc3f59cd5596b1374b315
parentb02e6b196f13742d855fba08be5d6904a3391d16 (diff)
downloadpulseaudio-panda-4ad72ea127b411a16d64f9128ac5c5d5fb555b05.tar.gz
pulseaudio-panda-4ad72ea127b411a16d64f9128ac5c5d5fb555b05.tar.bz2
pulseaudio-panda-4ad72ea127b411a16d64f9128ac5c5d5fb555b05.zip
bluetooth: Remove commented out code.
-rw-r--r--src/modules/bluetooth/module-bluetooth-discover.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c
index cddb21ca..1ec71ebf 100644
--- a/src/modules/bluetooth/module-bluetooth-discover.c
+++ b/src/modules/bluetooth/module-bluetooth-discover.c
@@ -86,15 +86,6 @@ static pa_hook_result_t load_module_for_device(pa_bluetooth_discovery *y, const
/* Oh, awesome, a new device has shown up and been connected! */
args = pa_sprintf_malloc("address=\"%s\" path=\"%s\"", d->address, d->path);
-#if 0
- /* This is in case we have to use hsp immediately, without waiting for .Audio.State = Connected */
- if (d->headset_state >= PA_BT_AUDIO_STATE_CONNECTED && somecondition) {
- char *tmp;
- tmp = pa_sprintf_malloc("%s profile=\"hsp\"", args);
- pa_xfree(args);
- args = tmp;
- }
-#endif
if (pa_modargs_get_value(u->modargs, "sco_sink", NULL) &&
pa_modargs_get_value(u->modargs, "sco_source", NULL)) {