diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-03-23 22:22:17 +0100 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-03-23 22:22:17 +0100 |
commit | 995bddbc26be5106cb33400311fbb669e314312a (patch) | |
tree | 0d40708057c585e6a5a2d5ef891b5a8ad70c635a /toxav/av_test.c | |
parent | 62af82705a805648a4dba54a7f516681e5163923 (diff) |
Audio works in test
Diffstat (limited to 'toxav/av_test.c')
-rw-r--r-- | toxav/av_test.c | 3 |
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 | ||
162 | int device_read_frame(ALCdevice* device, int32_t frame_dur, int16_t* PCM, size_t max_size) | 162 | int 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 | { |