diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2011-06-13 18:47:43 +0300 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-22 14:56:32 +0100 |
commit | 62e43f9181da467865fe732c9b7dd52b18a4353e (patch) | |
tree | 9d62a0ceaee088f90ecabc8d0c5f1d45ee3ebf6e | |
parent | c3056ce5301c06159139cd79cc2bd65744b4170f (diff) |
bluetooth-discover: Remove remaining ifdef NOKIAs.
These were supposed to be removed already in 13849f153, but
at that time I missed the ifdefs in
module-bluetooth-discover.c.
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-discover.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c index fd34c6f7..fc68fcde 100644 --- a/src/modules/bluetooth/module-bluetooth-discover.c +++ b/src/modules/bluetooth/module-bluetooth-discover.c @@ -42,21 +42,14 @@ PA_MODULE_AUTHOR("Joao Paulo Rechi Vita"); PA_MODULE_DESCRIPTION("Detect available bluetooth audio devices and load bluetooth audio drivers"); PA_MODULE_VERSION(PACKAGE_VERSION); -PA_MODULE_USAGE("async=<Asynchronous initialization?>"); +PA_MODULE_USAGE("async=<Asynchronous initialization?> " + "sco_sink=<name of sink> " + "sco_source=<name of source> "); PA_MODULE_LOAD_ONCE(TRUE); -/* -#ifdef NOKIA - "sco_sink=<name of sink> " - "sco_source=<name of source>" -#endif -*/ - static const char* const valid_modargs[] = { -#ifdef NOKIA "sco_sink", "sco_source", -#endif "async", NULL }; @@ -105,7 +98,6 @@ static pa_hook_result_t load_module_for_device(pa_bluetooth_discovery *y, const } #endif -#ifdef NOKIA if (pa_modargs_get_value(u->modargs, "sco_sink", NULL) && pa_modargs_get_value(u->modargs, "sco_source", NULL)) { char *tmp; @@ -116,7 +108,6 @@ static pa_hook_result_t load_module_for_device(pa_bluetooth_discovery *y, const pa_xfree(args); args = tmp; } -#endif if (d->audio_source_state >= PA_BT_AUDIO_STATE_CONNECTED) args = pa_sprintf_malloc("%s profile=\"a2dp_source\" auto_connect=no", args); |