11/* SPDX-License-Identifier: GPL-3.0-or-later
2- * Copyright © 2016-2018 The TokTok team.
2+ * Copyright © 2016-2024 The TokTok team.
33 * Copyright © 2013-2015 Tox project.
44 */
55
2424 * @section av_threading Threading implications
2525 *
2626 * Only toxav_iterate is thread-safe, all other functions must run from the
27- * tox thread.
27+ * Tox thread.
2828 *
2929 * Important exceptions are the `*_iterate` and `*_iterate_interval`
3030 * functions. You have to choose either the single thread or the multi thread
3131 * functions and read their documentation.
3232 *
3333 * A common way to run ToxAV (multiple or single instance) is to have a thread,
34- * separate from tox instance thread, running a simple toxav_iterate loop,
34+ * separate from Tox instance thread, running a simple toxav_iterate loop,
3535 * sleeping for `toxav_iteration_interval * milliseconds` on each iteration.
3636 *
37- * An important thing to note is that events are triggered from both tox and
38- * toxav thread (see above). Audio and video receive frame events are triggered
39- * from toxav thread while all the other events are triggered from tox thread.
37+ * An important thing to note is that events are triggered from both Tox and
38+ * ToxAV thread (see above). Audio and video receive frame events are triggered
39+ * from ToxAV thread while all the other events are triggered from Tox thread.
4040 *
4141 * Tox thread has priority with mutex mechanisms. Any api function can
42- * fail if mutexes are held by tox thread in which case they will set SYNC
42+ * fail if mutexes are held by Tox thread in which case they will set SYNC
4343 * error code.
4444 *
4545 * @subsection av_multi_threading Separate audio and video threads
@@ -737,7 +737,7 @@ void toxav_callback_video_receive_frame(ToxAV *av, toxav_video_receive_frame_cb
737737#ifndef APIGEN_IGNORE
738738
739739/***
740- * NOTE Compatibility with old toxav group calls. TODO(iphydf): remove
740+ * NOTE Compatibility with old ToxAV group calls. TODO(iphydf): remove
741741 *
742742 * TODO(iphydf): Use proper new API guidelines for these. E.g. don't use inline
743743 * function types, don't have per-callback userdata, especially don't have one
@@ -751,7 +751,7 @@ typedef void toxav_group_audio_cb(Tox *tox, uint32_t groupnumber, uint32_t peern
751751typedef void toxav_audio_data_cb (void * tox , uint32_t groupnumber , uint32_t peernumber , const int16_t pcm [],
752752 uint32_t samples , uint8_t channels , uint32_t sample_rate , void * userdata );
753753
754- /** @brief Create a new toxav group.
754+ /** @brief Create a new ToxAV group.
755755 *
756756 * @return group number on success.
757757 * @retval -1 on failure.
0 commit comments