[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-11-30 Thread Kevin
I am pushing for better audio support in the NDK in Bug 3434. http://code.google.com/p/android/issues/detail?id=3434 Kevin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-11-04 Thread James
You're going to get lag simply from touching the screen and waiting for the message go to the registered handler. So, first of all, I would make sure any user activity actions be bound to direct hardware interactions such as sensors and hardware key presses vs. UI screen button presses. However

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-11-04 Thread niko20
Yes, I tested the touch event response, but that was plenty fast. As another note, I downloaded a couple of games, and I noticed their sound seemed to work just fine (it was in sync with the graphics), so I'm not sure why yet, but it seems maybe only playing after touching is slow? Even in my

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Ulrich Althöfer
On 26 Okt., 09:17, niko20 nikolatesl...@yahoo.com wrote: Ok I first have to say that I'm biased, 'cus I like to write music apps (like music generation apps). However, this affects games as well. It's somewhat disappointing how OpenGL has made it into the NDK now but there isn't any NDK

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread niko20
Hi Ulrich, Interesting that our timing tests work out to similar values! Anyway audio has really always seemed to be a problem with Linux, which android is based on... just hope someday we will actually get some fast audio low level access. I'd like to write some real music apps. But it's not

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Ulrich Althöfer
Hi Niko, thank you for responsing. But I don't think, that the reason for the latency-problems is the linux-OS. There are audio-applications without such latency-problems, e.g. have a look at: LMMS - Linux Multimedia Studio, URL: http://lmms.sourceforge.net/ But I am wondering, that there is no

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread Sundog
You are correct, the problems have nothing to do with Linux, as any Ardour user can testify. On Oct 26, 8:06 am, Ulrich Althöfer ulrich.althoe...@web.de wrote: Hi Niko, thank you for responsing. But I don't think, that the reason for the latency-problems is the linux-OS. There are

[android-developers] Re: Low level audio really needed - too much latency in SoundPool, AudioTrack for more real time stuff

2009-10-26 Thread niko20
Thanks for the clarification. That is good news, now we just need to get some real code :) ;) On Oct 26, 10:01 am, Sundog sunns...@gmail.com wrote: You are correct, the problems have nothing to do with Linux, as any Ardour user can testify. On Oct 26, 8:06 am, Ulrich Althöfer