Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 300121 Details for
Bug 401065
net-wireless/bluez-4.98-r1 default config disables headsets
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.patch
diff.patch (text/plain), 1.56 KB, created by
Pacho Ramos
on 2012-01-28 12:06:54 UTC
(
hide
)
Description:
1.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2012-01-28 12:06:54 UTC
Size:
1.56 KB
patch
obsolete
>diff --git a/audio/a2dp.c b/audio/a2dp.c >index c4cdc62..2eebe6b 100644 >--- a/audio/a2dp.c >+++ b/audio/a2dp.c >@@ -1441,9 +1441,9 @@ static struct a2dp_server *find_server(GSList *list, const bdaddr_t *src) > > int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config) > { >- int sbc_srcs = 1, sbc_sinks = 1; >+ int sbc_srcs = 0, sbc_sinks = 0; > int mpeg12_srcs = 0, mpeg12_sinks = 0; >- gboolean source = TRUE, sink = FALSE, socket = TRUE; >+ gboolean source = TRUE, sink = FALSE, socket = FALSE; > gboolean delay_reporting = FALSE; > char *str; > GError *err = NULL; >@@ -1463,6 +1463,8 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config) > source = TRUE; > if (strstr(str, "Source")) > sink = TRUE; >+ if (strstr(str, "Socket")) >+ socket = TRUE; > g_free(str); > } > >@@ -1482,18 +1484,14 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config) > } > > /* Don't register any local sep if Socket is disabled */ >- if (socket == FALSE) { >- sbc_srcs = 0; >- sbc_sinks = 0; >- mpeg12_srcs = 0; >- mpeg12_sinks = 0; >+ if (socket == FALSE) > goto proceed; >- } > > str = g_key_file_get_string(config, "A2DP", "SBCSources", &err); > if (err) { > DBG("audio.conf: %s", err->message); > g_clear_error(&err); >+ sbc_srcs = 1; > } else { > sbc_srcs = atoi(str); > g_free(str); >@@ -1512,6 +1510,7 @@ int a2dp_register(DBusConnection *conn, const bdaddr_t *src, GKeyFile *config) > if (err) { > DBG("audio.conf: %s", err->message); > g_clear_error(&err); >+ sbc_sinks = 1; > } else { > sbc_sinks = atoi(str); > g_free(str);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 401065
:
300057
| 300121