atsushieno / aap-core

an Audio Plugin Format/Framework for Android
MIT License
92 stars 3 forks source link

Provide custom ATrace for audio processing results (both plugin and host) #148

Closed atsushieno closed 1 year ago

atsushieno commented 1 year ago

Currently there are some hacky debug diagnostic code that puts audio processing results onto logcat. It is of course not RT safe and involves significant cost.

We could use ATrace instead. It still involves 1-10us per event but that should be much better than current state.

client-as-plugin, aap-lv2, aap-juce (both wrapper and host) could provide dedicated traces for each.

atsushieno commented 1 year ago

Now we have a dedicated section on DEVELOPERS.md: https://github.com/atsushieno/aap-core/blob/main/docs/DEVELOPERS.md#profiling-audio-processing

atsushieno commented 1 year ago

Now it is implemented everywhere.