croissanne / portaudio_opensles

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

cmake fixes, and segfault fix for record #5

Closed jwinarske closed 6 years ago

jwinarske commented 6 years ago

CMake changes:

  1. Remove pthread when building for Android
  2. Install static library

pa_opensles.c changes:

  1. When selecting mic (single input channel, no output) for streaming, segfault was happening as the output config was being used as parameters, which was null.

With this fix I am able to use portaudio in the Android emulator to record USB Microphone Audio!!

croissanne commented 6 years ago

Thank you!