Hey everybody :-)

I haven't been using SEMS for a while now and wanted to give it a shot and had trouble compiling with libsamplerate.

Anyways, I didn't find a member variable in AmAudio, so I guess the stuff in the destructor isn't supposed to be there...

diff --git core/AmAudio.cpp core/AmAudio.cpp
index b84b90d..43c8043 100644
--- core/AmAudio.cpp
+++ core/AmAudio.cpp
@@ -266,10 +266,6 @@ AmAudio::AmAudio(AmAudioFormat *_fmt)

 AmAudio::~AmAudio()
 {
-#ifdef USE_LIBSAMPLERATE
-  if (NULL != resample_state)
-    src_delete(resample_state);
-#endif
   close();
 }
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to