How to fast forward audio??

All your problems with Audio, Video and Images.

How to fast forward audio??

Postby shrikant » Wed Jul 09, 2008 6:16 am

Hi all,
Well i was trying to figure out how to fast forward audio. I went through the android documentation and here are some classes/functions that i think need to be used.

AndroidAudioInputStream(InputStream stream, AudioFormat format, long length)

AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian)

AudioFormat.Encoding(String name)

Now the thing is, that the xplanation given is insufficient.. at least i think so.
One thing i understood, that is required, is to set to fast forward we'll have to increase the "frameRate" in the new AudioFormat that we make.

In the Encoding constructor, what does "name" signify??
In AndroidAudioInputStream what do we put for "stream" in the constructor??
How do we play it after all this?

Thanks in advance for helping..
Junior Developer
Junior Developer
Posts: 13
Joined: Fri Jun 13, 2008 5:53 am
Location: India


Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 5 guests