protocol-native: Disable srbchannel by default

Recent testing has shown some srbchannel related bugs that
indicates that the srbchannel feature is not ready to be enabled
by default.

Therefore, temporary disable it for the 6.0 release and re-enable
it in git master once 6.0 is released.

Bugs:
https://bugs.freedesktop.org/show_bug.cgi?id=88452
https://bugs.freedesktop.org/show_bug.cgi?id=88167

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2015-01-21 15:06:53 +01:00
parent 5effc83479
commit 34862dbd43

View file

@ -2591,7 +2591,7 @@ static void setup_srbchannel(pa_native_connection *c) {
int fdlist[2]; int fdlist[2];
if (!c->options->srbchannel) { if (!c->options->srbchannel) {
pa_log_debug("Disabling srbchannel, reason: Disabled by module parameter"); pa_log_debug("Disabling srbchannel, reason: Must be enabled by module parameter");
return; return;
} }
@ -5325,7 +5325,7 @@ int pa_native_options_parse(pa_native_options *o, pa_core *c, pa_modargs *ma) {
pa_assert(PA_REFCNT_VALUE(o) >= 1); pa_assert(PA_REFCNT_VALUE(o) >= 1);
pa_assert(ma); pa_assert(ma);
o->srbchannel = true; o->srbchannel = false;
if (pa_modargs_get_value_boolean(ma, "srbchannel", &o->srbchannel) < 0) { if (pa_modargs_get_value_boolean(ma, "srbchannel", &o->srbchannel) < 0) {
pa_log("srbchannel= expects a boolean argument."); pa_log("srbchannel= expects a boolean argument.");
return -1; return -1;