Author: sayer
Date: 2008-12-08 20:49:47 +0100 (Mon, 08 Dec 2008)
New Revision: 1186

Modified:
   trunk/core/AmDtmfDetector.h
Log:
include only tone_detect for older spandsp version

Modified: trunk/core/AmDtmfDetector.h
===================================================================
--- trunk/core/AmDtmfDetector.h 2008-12-08 19:12:15 UTC (rev 1185)
+++ trunk/core/AmDtmfDetector.h 2008-12-08 19:49:47 UTC (rev 1186)
@@ -36,8 +36,12 @@
 
 #ifdef USE_SPANDSP
 #include <math.h>
+#ifndef HAVE_OLD_SPANDSP_CALLBACK
 #include "spandsp.h"
+#else
+#include "spandsp/tone_detect.h"
 #endif
+#endif
 
 
 //

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

Reply via email to