From 37f628a88d800123dbad003b122322e8181c3baa Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 17 Jul 2017 21:36:47 +0200 Subject: seq added to msg handler --- code/test/voip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/test/voip.c') diff --git a/code/test/voip.c b/code/test/voip.c index 673bb8a..67e1afe 100644 --- a/code/test/voip.c +++ b/code/test/voip.c @@ -123,7 +123,7 @@ int a_init(void) { opus_decoder_init(opus_dec, sample_rate, nchannels); } -ssize_t handle_open_c(ECPConnection *conn, unsigned char t, unsigned char *p, ssize_t s) { +ssize_t handle_open_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) { uint32_t seq = 0; ecp_conn_handle_open(conn, t, p, s); @@ -137,7 +137,7 @@ ssize_t handle_open_c(ECPConnection *conn, unsigned char t, unsigned char *p, ss return s; } -ssize_t handle_msg_c(ECPConnection *conn, unsigned char t, unsigned char *p, ssize_t s) { +ssize_t handle_msg_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned char *p, ssize_t s) { a_write(opus_dec, p, s, handle_plb, alsa_out_buf, alsa_frames); return s; } -- cgit v1.2.3