Author: sayer
Date: 2008-07-16 16:49:46 +0200 (Wed, 16 Jul 2008)
New Revision: 1054

Modified:
   trunk/core/AmB2ABSession.cpp
Log:
use define SYSTEM_SAMPLERATE everywhere (forgot that one in r1051)

Modified: trunk/core/AmB2ABSession.cpp
===================================================================
--- trunk/core/AmB2ABSession.cpp        2008-07-16 14:48:43 UTC (rev 1053)
+++ trunk/core/AmB2ABSession.cpp        2008-07-16 14:49:46 UTC (rev 1054)
@@ -358,7 +358,7 @@
 
 // ----------------------- AudioDelayBridge -----------------
 /** BRIDGE_DELAY is needed because of possible different packet sizes */ 
-#define BRIDGE_DELAY 320 // 30ms 
+#define BRIDGE_DELAY 30 * SYSTEM_SAMPLERATE/1000 // 30ms 
 
 /* AudioBridge */
 AmAudioDelayBridge::AmAudioDelayBridge()

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to