From 7208bb9a862c784147aeb8e2ebc2d329b6bba056 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Fri, 20 Jan 2017 11:05:59 +0100 Subject: [PATCH] Use an enum instead of an integer for the "type" attribute of LinphoneCallStats --- include/linphone/call_stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linphone/call_stats.h b/include/linphone/call_stats.h index 23ae7350f..05d408e08 100644 --- a/include/linphone/call_stats.h +++ b/include/linphone/call_stats.h @@ -52,7 +52,7 @@ typedef struct _LinphoneCallStats LinphoneCallStats; * At any time, the application can access last computed statistics using linphone_call_get_audio_stats() or linphone_call_get_video_stats(). **/ struct _LinphoneCallStats { - int type; /**< Can be either LINPHONE_CALL_STATS_AUDIO or LINPHONE_CALL_STATS_VIDEO*/ + LinphoneStreamType type; /**< Type of the stream which the stats refer to */ jitter_stats_t jitter_stats; /**