[pulseaudio-tickets] [PulseAudio] #359: "null" output
PulseAudio
trac-noreply at tango.0pointer.de
Wed Sep 17 13:17:14 PDT 2008
#359: "null" output
----------------------+-----------------------------------------------------
Reporter: pl4nkton | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: paman | Severity: normal
Keywords: |
----------------------+-----------------------------------------------------
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>
--
Ticket URL: <http://pulseaudio.org/ticket/359>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list