Hi.
I am trying to determine if I should go the ndk way to work on a music
synth app, but first wanted to do a sanity check in the java layer by
testing how many sine tones i could play concurrently, and so I tried
this. And it's pretty low: I can only play about 4 or 5 tones before
the obtainBuffer timeouts start increasing in number. Also, changing
the media volume while the tones are playing disrupts the output.
These are the basic settings for each of the tones:
- fs = 11025
- AudioFormat.CHANNEL_CONFIGURATION_MONO
- AudioFormat.ENCODING_PCM_8BIT
- AudioTrack.MODE_STREAM
I would like to know how one can best avoid obtainbuffer timeout
errors.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to