mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
properly initialize session counter
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@732 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
7871f41f2e
commit
a8bb073acc
1 changed files with 1 additions and 0 deletions
|
|
@ -455,6 +455,7 @@ int pa__init(pa_core *c, pa_module*m) {
|
||||||
u->module = m;
|
u->module = m;
|
||||||
u->core = c;
|
u->core = c;
|
||||||
u->sink_name = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL));
|
u->sink_name = pa_xstrdup(pa_modargs_get_value(ma, "sink", NULL));
|
||||||
|
u->n_sessions = 0;
|
||||||
|
|
||||||
u->sap_event = c->mainloop->io_new(c->mainloop, fd, PA_IO_EVENT_INPUT, sap_event_cb, u);
|
u->sap_event = c->mainloop->io_new(c->mainloop, fd, PA_IO_EVENT_INPUT, sap_event_cb, u);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue