mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
card,stream-restore: minor cleanups
This commit is contained in:
parent
0e4ac56afc
commit
4951e08031
2 changed files with 6 additions and 12 deletions
|
|
@ -223,11 +223,9 @@ int pa__init(pa_module*m) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
m->userdata = u = pa_xnew(struct userdata, 1);
|
||||
m->userdata = u = pa_xnew0(struct userdata, 1);
|
||||
u->core = m->core;
|
||||
u->module = m;
|
||||
u->save_time_event = NULL;
|
||||
u->database = NULL;
|
||||
|
||||
u->subscription = pa_subscription_new(m->core, PA_SUBSCRIPTION_MASK_CARD, subscribe_callback, u);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue