mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
loopback: remove an unnecessary level of pointer dereferencing
The userdata struct has a pointer to the core itself, no need to go via u->module to get to it.
This commit is contained in:
parent
fd9e3452e2
commit
9de4b10093
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ static void enable_adjust_timer(struct userdata *u, bool enable) {
|
|||
if (u->time_event)
|
||||
u->core->mainloop->time_free(u->time_event);
|
||||
|
||||
u->time_event = pa_core_rttime_new(u->module->core, pa_rtclock_now() + 333 * PA_USEC_PER_MSEC, time_callback, u);
|
||||
u->time_event = pa_core_rttime_new(u->core, pa_rtclock_now() + 333 * PA_USEC_PER_MSEC, time_callback, u);
|
||||
} else {
|
||||
if (!u->time_event)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue