I found the solution to my problem: Service.startForeground. This call
makes sure my background service will keeps its priority when its
running in the background.
The SDK has a nice example that works across all API levels:
I agree with everyone here that low latency audio is still far-fetched
idea for android.
For low latency audio we need to have very good designed audio
framework which i guess at this point of time is
not ready in android.
However i have been told in one of the answers from google that they
are
Kevin-
I agree that the basics of audio mixing are pretty simple (adding byte
arrays), though its the other things you mentioned that I don't have
much experience with and am having trouble finding good resources
about (overflow, volume adjustment, etc.). If anyone has any
resources or code they
Kevin I don't remember where i saw that reply but someone from android
team
can very well confirm this i.e. are they working on new audio
framework or not??
Sadly, in this area generally android team response is not very
enthusiastic.
--
You received this message because you are subscribed to
Kevin I don't remember where i saw that reply but someone from android
team
can very well confirm this i.e. are they working on new audio
framework or not??
Sadly, in this area generally android team response is not very
enthusiastic.
--
You received this message because you are subscribed to
I did some audio work on Android and have to agree with Kevin's
analysis. Writting to the audio device via AudioTrack works and you
can also alter the buffer sizes to get to the lowest possible latency
but from what i remember the buffer was still pretty big. Also,
AudioTrack does not allow
Very interesting.. but from what you've said, you're running into the same
latency issues as everyone else on android. The chance of making a
multi-touch MPC program, or a synth that can play multiple sounds at once
seems a bit far off yet for Android at this point. :(
On Mon, Apr 12, 2010 at
7 matches
Mail list logo