Author: sayer
Date: 2008-08-24 19:06:52 +0200 (Sun, 24 Aug 2008)
New Revision: 1074
Modified:
trunk/core/AmAudio.cpp
Log:
fixed interpretation of return value in case of codec encoding does return error
Modified: trunk/core/AmAudio.cpp
===================================================================
--- trunk/core/AmAudio.cpp 2008-08-21 20:03:49 UTC (rev 1073)
+++ trunk/core/AmAudio.cpp 2008-08-24 17:06:52 UTC (rev 1074)
@@ -323,7 +323,7 @@
memcpy((unsigned char*)samples,buffer,size);
- unsigned int s = encode(size);
+ int s = encode(size);
if(s>0){
//DBG("%s\n",typeid(this).name());
incRecordTime(bytes2samples(size));
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev