Author: sayer
Date: 2008-08-24 19:07:26 +0200 (Sun, 24 Aug 2008)
New Revision: 1075
Modified:
branches/wb/core/AmAudio.cpp
Log:
fixed interpretation of return value in case of codec encoding does return error
Modified: branches/wb/core/AmAudio.cpp
===================================================================
--- branches/wb/core/AmAudio.cpp 2008-08-24 17:06:52 UTC (rev 1074)
+++ branches/wb/core/AmAudio.cpp 2008-08-24 17:07:26 UTC (rev 1075)
@@ -356,7 +356,7 @@
}
// DBG("wr_ts = %ld\n", wr_ts);
- 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