Tanu Kaskinen pushed to branch master at PulseAudio / pulseaudio
Commits: 9de4b100 by Tanu Kaskinen at 2019-05-29T07:44:29Z 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. - - - - - 91bb9b77 by Tanu Kaskinen at 2019-05-29T08:07:01Z loopback: fix callback name in comment - - - - - 1 changed file: - src/modules/module-loopback.c Changes: ===================================== src/modules/module-loopback.c ===================================== @@ -214,7 +214,7 @@ static void teardown(struct userdata *u) { * to the sink input. Also, we need to ensure that new messages won't be * written to the queue after we have emptied it. * - * Emptying the queue can be done in the state_changed() callback of the + * Emptying the queue can be done in the state_change() callback of the * sink input, when the new state is "unlinked". * * Preventing new messages from being written to the queue can be achieved @@ -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; View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/compare/fd9e3452e2e2eb298a5d2f58809febf2bf44453b...91bb9b77e43d95ade59f55f1e3c99f8cc883e460 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/compare/fd9e3452e2e2eb298a5d2f58809febf2bf44453b...91bb9b77e43d95ade59f55f1e3c99f8cc883e460 You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits