igorski / MWEngine

Audio engine and DSP library for Android, written in C++ providing low latency performance within a musical context, while providing a Java/Kotlin API. Supports both OpenSL and AAudio.
MIT License
259 stars 45 forks source link

audio glitches in example app #120

Closed harthorst closed 3 years ago

harthorst commented 4 years ago

I recently updated to master branch (fresh git clone) and discovered audio glitches similar to issue 114.

A screen record can be found here: https://mega.nz/file/Jgk0mQAK#06d-0_CD9WNaeHTyKOqILFpMcWvN-2EEh1SAVkQFlJg

What I did: 1) git clone ... 2) created local.properties 3) changed minSdkVersion to 23 (otherwise the build fails) 4) installed debug.apk

I tried to record the MWEngine output directly but the recorded wav file is only 44k.

igorski commented 3 years ago

Issue is treated as relation to #119 and will be tackled in #129

Observed on devices using Snapdragon 660 processor (arm64-v8a ABI), seems thread frequency scaling that has been implemented in the engine might be more appropriate for Intel processors. Affects usage of AAudio driver rather than OpenSL.