diff ater/read_ts.c @ 16:4ffe22f5b4b5

ater: initial osmo_i460 framework
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 07:19:38 +0000
parents 98ae717734d6
children 61862af2247f
line wrap: on
line diff
--- a/ater/read_ts.c	Mon Jun 24 04:01:38 2024 +0000
+++ b/ater/read_ts.c	Mon Jun 24 07:19:38 2024 +0000
@@ -10,6 +10,7 @@
 #include <unistd.h>
 
 #include <osmocom/core/select.h>
+#include <osmocom/isdn/i460_mux.h>
 
 #include "globals.h"
 
@@ -29,6 +30,7 @@
 	}
 	if (record_file)
 		fwrite(readbuf, 1, 160, record_file);
+	osmo_i460_demux_in(&i460_ts, readbuf, 160);
 	/* transmit_e1_ts(); */
 	return 0;
 }