Offline

I wanted to investigate further into this.
What would be the best way to go for implementing soundchip emulation in Android apps? Does anyone know how Droidsound and zxtune does it?