ALIZE-Speaker-Recognition / android-alize

ALIZE for the Android platform.
GNU Lesser General Public License v3.0
36 stars 17 forks source link

Segmentation Fault When Calling addAudio(short[]) #8

Closed estrasnick closed 6 years ago

estrasnick commented 6 years ago

Many thanks to @tevamerlin for adding the new addAudio(short[]) method to support PCM input. Unfortunately, whenever we call this method with any PCM input, we get an immediate SIGSEGV. Can you verify that this method currently works, or might there be a bug in the implementation?

Fatal signal 11 (SIGSEGV), code 2, fault addr 0x7fdf479ff0

Many thanks!

tevamerlin commented 6 years ago

Sorry — there was indeed a bug in the implementation (a stupid overloading mistake), in the C++ version of SimpleSpkDetSystem in LIA_RAL. Update to the latest version of LIA_RAL in order to get the fix.