laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27827 )
Change subject: octoi: Update RIFO depth also on dequeue ......................................................................
octoi: Update RIFO depth also on dequeue
We updated the RIFO depth on every enqueue, let's also do so on dequeue. Otherwise the figure might be wrong in case of no further received input frames.
Change-Id: I175f0503e7435c362f35bd8083b785197d9d7338 --- M src/octoi/octoi.c 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/src/octoi/octoi.c b/src/octoi/octoi.c index 3137b75..d2960ac 100644 --- a/src/octoi/octoi.c +++ b/src/octoi/octoi.c @@ -127,5 +127,5 @@ memcpy(cur, iline->e1t.last_frame, BYTES_PER_FRAME); } } - //iline_stat_set(iline, LINE_STAT_E1oIP_E1T_FIFO, frame_fifo_frames(&iline->e1t.fifo)); + iline_stat_set(iline, LINE_STAT_E1oIP_E1T_FIFO, frame_rifo_depth(&iline->e1t.rifo)); }