Media Player

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Media Player

Postby arunjith » Sat Jan 12, 2008 2:58 pm

Hi

I am developing a custom media player
where im not directly using Mediaplayer class of android
Instead i divided my mediaplayer functionality into three

1. Read from the media file (Using AndroidAudioInputStream)
2. Decode the file ( usinf Decoder class )
3. Render the decoded data ( Here im facing the problem , i dont find any class provide this.

If im going for Mediaplayer.play() function, it accepts some url (either a file name or a network link) as input . I am looking for a class where i can pass decoded buffer as input ,
which will render it to either display or speaker

Can you suggest me how to achieve this
arunjith
Freshman
Freshman
 
Posts: 7
Joined: Fri Jan 11, 2008 12:53 pm

Top

Re: Media Player

Postby Katharnavas » Mon Jan 14, 2008 5:30 am

arunjith wrote:Hi

I am developing a custom media player
where im not directly using Mediaplayer class of android
Instead i divided my mediaplayer functionality into three

1. Read from the media file (Using AndroidAudioInputStream)
2. Decode the file ( usinf Decoder class )
3. Render the decoded data ( Here im facing the problem , i dont find any class provide this.

If im going for Mediaplayer.play() function, it accepts some url (either a file name or a network link) as input . I am looking for a class where i can pass decoded buffer as input ,
which will render it to either display or speaker

Can you suggest me how to achieve this


Hi,
I too didnt find any classes and methods for passing stream to a player. It seems to accept only a file or a url.
Katharnavas
Senior Developer
Senior Developer
 
Posts: 100
Joined: Tue Dec 04, 2007 5:57 am
Location: India

Re: Media Player

Postby meijerpb » Sun Jul 20, 2008 8:18 am

I'm facing much the same problem, as was discussed here,

http://groups.google.com/group/android- ... th/2008-06

Anyone who found an elegant solution to playing a ByteArrayInputStream or
an AndroidAudioInputStream? For me Google Android is useless without this
or some good equivalent for playing on-the-fly synthesized data arrays.

Thanks
User avatar
meijerpb
Freshman
Freshman
 
Posts: 4
Joined: Sun Jul 20, 2008 8:11 am

Top

Return to General

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests