Group s30_audio_test_utility

group s30_audio_test_utility

Audio test utility.

Functions

pj_status_t pjmedia_aud_test(const pjmedia_aud_param *param, pjmedia_aud_test_results *result)

Perform audio device testing.

struct pjmedia_aud_test_stat
#include <audiotest.h>

Statistic for each direction.

Public Members

unsigned frame_cnt

Number of frames processed during the test.

unsigned min_interval

Minimum inter-frame arrival time, in milliseconds

unsigned max_interval

Maximum inter-frame arrival time, in milliseconds

unsigned avg_interval

Average inter-frame arrival time, in milliseconds

unsigned dev_interval

Standard deviation of inter-frame arrival time, in milliseconds

unsigned max_burst

Maximum number of frame burst

struct pjmedia_aud_test_results
#include <audiotest.h>

Test results.

Public Members

pjmedia_aud_test_stat rec

Recording statistic.

pjmedia_aud_test_stat play

Playback statistic.

pj_int32_t rec_drift_per_sec

Clock drifts per second, in samples. Positive number indicates rec device is running faster than playback device.