Closed danstowell closed 13 years ago
I think this works. Dan, can you try this on the Tattoo?
just tried on the nexus and synthdefs still seem to be the cached ones from previous run (observed while changing synthdefs, need to run twice to get the updated synthdef).
However, the synthdefs are indeed there on first run. On my Tattoo I deleted the folders, uninstalled the app, rebooted the phone, ran it once and it worked. So the issue of cached synthdef files from the previous run (which still happens because we're testing for file-existence rather than file-recentness) still exists, but frankly it's only an issue for us devs so I'm closing this.
this is probably because of SD card latency - add a Thread.sleep after writing perhaps.
We must check this works, by trashing the files then re-running.