summaryrefslogtreecommitdiff
path: root/toxav/av_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/av_test.c')
-rw-r--r--toxav/av_test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toxav/av_test.c b/toxav/av_test.c
index 46fd97e1..9be648f6 100644
--- a/toxav/av_test.c
+++ b/toxav/av_test.c
@@ -156,7 +156,7 @@ void iterate(Tox* Bsn, ToxAV* AliceAV, ToxAV* BobAV)
156 toxav_iteration(AliceAV); 156 toxav_iteration(AliceAV);
157 toxav_iteration(BobAV); 157 toxav_iteration(BobAV);
158 158
159 c_sleep(20); 159 c_sleep(toxav_iteration_interval(AliceAV));
160} 160}
161 161
162int device_read_frame(ALCdevice* device, int32_t frame_dur, int16_t* PCM, size_t max_size) 162int device_read_frame(ALCdevice* device, int32_t frame_dur, int16_t* PCM, size_t max_size)
@@ -652,7 +652,6 @@ int main (int argc, char** argv)
652 } 652 }
653 653
654 iterate(Bsn, AliceAV, BobAV); 654 iterate(Bsn, AliceAV, BobAV);
655// c_sleep(20);
656 } 655 }
657 656
658 { 657 {