]> code.delx.au - pulseaudio/commitdiff
bluetooth: Remove commented out code.
authorTanu Kaskinen <tanu.kaskinen@jollamobile.com>
Thu, 6 Sep 2012 12:47:17 +0000 (15:47 +0300)
committerTanu Kaskinen <tanu.kaskinen@jollamobile.com>
Thu, 6 Sep 2012 12:59:34 +0000 (15:59 +0300)
src/modules/bluetooth/module-bluetooth-discover.c

index cddb21ca09c60ea95ca966a16bf2edf42473457d..1ec71ebf2159d46351a982f21ae9f7b7f8c6cee3 100644 (file)
@@ -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)) {