diff options
author | zoff99 <zoff@zoff.cc> | 2020-04-05 12:35:02 +0200 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-05 11:56:52 +0000 |
commit | 27f24e61b2bcb7da616503729ead05c4520b64a3 (patch) | |
tree | 6777572c396d76c4bd074a11816ce68fd5ea9c15 /toxav/toxav.c | |
parent | bcbc37437086b4814a451382a4342f1b6a75cbd1 (diff) |
Stop using Messenger's mono_time in bandwidth controller.
We're actually still using it, but we got a private pointer now,
preparing us for having a private mono_time in toxav.
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 2d753176..3d0fe718 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -1317,7 +1317,7 @@ static bool call_prepare_transmission(ToxAVCall *call) | |||
1317 | } | 1317 | } |
1318 | 1318 | ||
1319 | /* Prepare bwc */ | 1319 | /* Prepare bwc */ |
1320 | call->bwc = bwc_new(av->m, call->friend_number, callback_bwc, call); | 1320 | call->bwc = bwc_new(av->m, call->friend_number, callback_bwc, call, av->m->mono_time); |
1321 | 1321 | ||
1322 | { /* Prepare audio */ | 1322 | { /* Prepare audio */ |
1323 | call->audio = ac_new(av->m->mono_time, av->m->log, av, call->friend_number, av->acb, av->acb_user_data); | 1323 | call->audio = ac_new(av->m->mono_time, av->m->log, av, call->friend_number, av->acb, av->acb_user_data); |