From c7f1345d2831938dc621dec1254f51b1fc3fcd48 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Tue, 24 Apr 2007 18:02:54 +0000 Subject: [PATCH] puzzle: what happens after 3.106891851851851852 days? - initializes correctly r_ts and w_ts (would lead to no audio input after a while) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@309 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmPlayoutBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmPlayoutBuffer.cpp b/core/AmPlayoutBuffer.cpp index d07d66a6..e3b7a9da 100644 --- a/core/AmPlayoutBuffer.cpp +++ b/core/AmPlayoutBuffer.cpp @@ -38,7 +38,7 @@ void AmPlayoutBuffer::write(u_int32_t ref_ts, u_int32_t rtp_ts, recv_offset_i = true; DBG("initialized recv_offset with %i (%i - %i)\n", recv_offset, ref_ts, rtp_ts); - mapped_ts = ref_ts;// + jitter_delay; + mapped_ts = r_ts = w_ts = ref_ts;// + jitter_delay; } else { mapped_ts = rtp_ts - recv_offset;// + jitter_delay;