Excellent! That should suffice (for me). I fuse 64 independent audio channels internally, but that part is not exposed to Android.
Thanks On Jan 9, 4:59 am, Dave Sparks <[email protected]> wrote: > Yes, AudioTrack and MediaPlayer will play along very nicely. > > MediaPlayer uses AudioTrack for its low-level audio interface. Up to > 32 tracks of audio can be mixed. > > On Jan 8, 5:49 am, blindfold <[email protected]> wrote: > > > Thanks David. You say that Cupcake's AudioTrack allows for > > > > generating raw audio in the application to be streamed to the audio > > > output. > > > It does not include a byte stream interface to the MediaPlayer, for > > > example. > > > Does this mean that it bypasses MediaPlayer altogether in accessing > > the audio hardware? If so, I hope it does not also bypass the low- > > level audio mixer, because apart from my own on-the-fly synthesized > > audio, I simultaneously output (asynchronously, depending on events) > > my own sampled human speech as well as speech from the Android TTS > > engine. It would be horrible if AudioTrack blocked the audio output > > from simultaneous access by Mediaplayer. > > > I had been expecting a new API method like MediaPlayer.create(Context > > context, byte[] audioData) as a minor extension to > > android.media.MediaPlayer, but now I am again confused about what to > > expect, and actually worried about the interaction between AudioTrack > > and MediaPlayer. > > > Indeed there is no word about (low-level) audio mixing or MediaPlayer > > in > > >http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_... > > > So, will AudioTrack and MediaPlayer "play" along nicely? > > > Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

