summaryrefslogtreecommitdiff
path: root/code/test/voip.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/voip.c')
-rw-r--r--code/test/voip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/test/voip.c b/code/test/voip.c
index 8c53d01..db1ea9f 100644
--- a/code/test/voip.c
+++ b/code/test/voip.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
while(1) {
ecp_pld_set_type(payload, MTYPE_MSG);
- opus_buf = ecp_pld_get_buf(payload);
+ opus_buf = ecp_pld_get_buf(payload, 0);
opus_int32 len = a_read(handle_cpt, alsa_in_buf, alsa_frames, opus_enc, opus_buf, ECP_MAX_MSG);
if (len < 0) continue;
ssize_t _rv = ecp_send(&conn, payload, len);