sdphil wrote:
> I have asked this before, but I never got a response.
> 
> I would like to be able to feed an InputStream to the media player,
> but it does not look like there is any way to do that.  The
> InputStream would feed encoded (mp3 or aac) data to whoever is calling
> read() on it.  The issue is that I may have to stitch data together or
> I may not have all the data at the time I need to start playing back,
> but I can get it as the user continues playing.
> 
> I see MediaPlayer.setDataSource() for files, streams and URIs, but
> nothing that seems like an InputStream.  I see the JetPlayer which is
> incredibly thin on documentation.  I see AudioTrack, but that requires
> PCM as input.
> 
> So, I'm back to what to use or how I can work around this limitation.

Use AudioTrack.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!
-- 
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

Reply via email to