|
|
|
|
@ -628,9 +628,12 @@ int call_audio_get_stats(uint64_t call_id, int* buffer_ms, int* tempo_x100,
|
|
|
|
|
!!(events & 1), !!(events & 2), !!(events & 4), !!(events & 16), !!(events & 8)); |
|
|
|
|
if (ok) DEBUG_DEBUG(DEBUG_CATEGORY_CALL, |
|
|
|
|
"call_jitter: call=%llu depth=%dms reserve=%dms encoded=%dms processing=%dms spread=%lldms pcm=%d " |
|
|
|
|
"tempo=%d waiting=%d catching_up=%d resumed=%d underruns=%u", |
|
|
|
|
"tempo=%d waiting=%d catching_up=%d resumed=%d underruns=%u " |
|
|
|
|
"dsp=%d tempo_ppm=%d phase_samples=%u cuts=%llu stretch_in_out=%llu/%llu", |
|
|
|
|
(unsigned long long)call_id, diagnostics.depth_ms, diagnostics.reserve_ms, diagnostics.encoded_ms, |
|
|
|
|
diagnostics.processing_ms, (long long)diagnostics.arrival_spread_ms, diagnostics.pcm_samples, |
|
|
|
|
diagnostics.tempo_x100, diagnostics.waiting, diagnostics.catching_up, diagnostics.resumed, diagnostics.underruns); |
|
|
|
|
diagnostics.tempo_x100, diagnostics.waiting, diagnostics.catching_up, diagnostics.resumed, diagnostics.underruns, |
|
|
|
|
diagnostics.delay_mode, diagnostics.tempo_ppm, diagnostics.phase_samples, (unsigned long long)diagnostics.cut_samples, |
|
|
|
|
(unsigned long long)diagnostics.stretch_entries, (unsigned long long)diagnostics.stretch_exits); |
|
|
|
|
return ok ? 0 : -1; |
|
|
|
|
} |
|
|
|
|
|