Ticket #359 (closed defect: wontfix)
"null" output
| Reported by: | pl4nkton | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | paman | |
| Keywords: | Cc: |
Description
If I'am not wrong paman is always "connecting" to null.
paman/src/paman.cc
static void context_state_callback(struct pa_context *c, void *) {
switch (pa_context_get_state(c)) {
case PA_CONTEXT_CONNECTING: {
... snprintf(t, sizeof(t), "Connection to <b>%s</b> ...", pa_context_get_server(c)); // <b> </b> wird so ausgegen ohne den Text zu formatieren
pulseaudio/src/pulse/context.c
int pa_context_connect( ...
pa_context_set_state(c, PA_CONTEXT_CONNECTING); // only c->server_list is set r = try_next_connection(c); // later sets c->server
const char* pa_context_get_server(pa_context *c) { // so we get null ...
if (!c->server)
return NULL;
static int try_next_connection(pa_context *c) { ... 762 c->is_local = !!pa_socket_client_is_local(c->client); // -!! ;)
1090 <property name="label" translatable="yes">S_ample Cache</property>
