It looks like you're new here. If you want to get involved, click one of these buttons!
So I've been having some difficulty initialising my libpd patch on Android. The funny thing is that error only occurs the very first time the app is launched; once I exit and re-load it works fine, similarly if I rotate my screen and PD gets re-initialised it works fine.
Trying to debug this and looking at the Logs it would appear that the call to
pdService.initAudio(-1,-1,-1,-1);// negative values will be replaced with defaults/preferences
causes these errors in the log - 02-23 16:40:07.950: E/AudioTrack-Java(2530): [ android.media.AudioTrack ] getMinBufferSize(): Invalid channel configuration. 02-23 16:40:07.950: E/AudioTrack-Java(2530): [ android.media.AudioTrack ] getMinBufferSize(): Invalid channel configuration.
It would appear that the patch is loaded (I can still get messages in and out of it), however there is not output audio. As mentioned however, the error only happens the first time the app is run on the phone. Anybody have any suggestions how I could fix this?
Many thanks, Henrik