Author: sayer
Date: 2008-07-16 16:48:43 +0200 (Wed, 16 Jul 2008)
New Revision: 1053

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

Modified: trunk/core/AmAudio.cpp
===================================================================
--- trunk/core/AmAudio.cpp      2008-07-16 14:47:43 UTC (rev 1052)
+++ trunk/core/AmAudio.cpp      2008-07-16 14:48:43 UTC (rev 1053)
@@ -129,7 +129,7 @@
 
 AmAudioFormat::AmAudioFormat()
   : channels(-1), rate(-1), codec(NULL),
-    frame_length(20), frame_size(160), frame_encoded_size(320)
+    frame_length(20), frame_size(20*SYSTEM_SAMPLERATE/1000), 
frame_encoded_size(320)
 {
 
 }

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

Reply via email to