Skip to content

Custom PdBaseLoader

Dan Wilcox edited this page Nov 25, 2019 · 1 revision

If you need to use libpd on Android without initializing audio (OpenSL, etc), you can set a custom PdBaseLoader before calling PdBase:

PdBaseLoader.loaderHandler = new PdBaseLoader() {
    @Override
    public void load() {
        System.loadLibrary("pd");
    }
};