diff options
author | mannol <eniz_vukovic@hotmail.com> | 2015-06-13 15:00:34 +0200 |
---|---|---|
committer | mannol <eniz_vukovic@hotmail.com> | 2015-06-13 15:00:34 +0200 |
commit | a3132feddb25656e33c7ce8c9bc6abc78657a01e (patch) | |
tree | ba91fdc208b4cc7ff7a9bca12a10bb165ea48ddf /toxav | |
parent | 979d7730aa85502881788223a1fb4e30badaa159 (diff) |
Fixed sample size in callback and other stuff
Diffstat (limited to 'toxav')
-rw-r--r-- | toxav/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/audio.c b/toxav/audio.c index f6993a1d..0a6f04e3 100644 --- a/toxav/audio.c +++ b/toxav/audio.c | |||
@@ -181,8 +181,8 @@ void ac_do(ACSession* ac) | |||
181 | } else if (ac->acb.first) { | 181 | } else if (ac->acb.first) { |
182 | ac->last_packet_frame_duration = (rc * 1000) / ac->last_packet_sampling_rate; | 182 | ac->last_packet_frame_duration = (rc * 1000) / ac->last_packet_sampling_rate; |
183 | 183 | ||
184 | ac->acb.first(ac->av, ac->friend_number, tmp, rc * ac->last_packet_channel_count, | 184 | ac->acb.first(ac->av, ac->friend_number, tmp, rc, ac->last_packet_channel_count, |
185 | ac->last_packet_channel_count, ac->last_packet_sampling_rate, ac->acb.second); | 185 | ac->last_packet_sampling_rate, ac->acb.second); |
186 | } | 186 | } |
187 | 187 | ||
188 | return; | 188 | return; |