Running calculations in separate thread will only make things worse, but as I understand you are performing all math in Java I think using native code here can dramatically boost performance
-- Regards, Bart Janusz On Apr 22, 5:15 am, BobG <[email protected]> wrote: > I have this audio analyzer app that fills a buffer with audiorecord, > runs it thru a bunch of filters, and plots the filter out as a bunch > of vertical bars. I timed the sampling, filtering and drawing with > systemTimeMillis and it takes about 100ms,900ms and 50ms. I cant see > how putting the calcs in another thread could speed it up any, but I'm > just an old embedded c programmer. I guess linux is ticking every > millisecond, and there must be a dozen linux tasks running, and I > guess a task has a 'quantum' of ticks that it runs before linux > preempts it (anyone know about these details?), but I just want it to > run about 5 or 10 times faster. Appreciate any hints, tips, tricks, > etc. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

