croissanne / portaudio_opensles

android opensles hostapi for portaudio
Other
48 stars 17 forks source link

`invalid pthread_t passed to libc` bug #14

Closed croissanne closed 6 months ago

croissanne commented 3 years ago

Android >= 27 included some changes to __pthread_internal_find which I think trips up portaudio in scenarios like test/patest_callback.c. Might need to create the streaming thread differently or clean up the old one differently?

darksylinc commented 8 months ago

This might be addressed by https://github.com/croissanne/portaudio_opensles/pull/17

I noticed my app started randomly crashing after upgrading to latest OpenSL ES and made a thorough review of the changes.

After fixing that corruption, the crashes were gone.