Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How to fast forward audio??

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.

javax.sound.sampled.AndroidAudioInputStream
AndroidAudioInputStream(InputStream stream, AudioFormat format, long length)

javax.sound.sampled.AudioFormat
AudioFormat(Encoding encoding, float sampleRate, int sampleSizeInBits, int channels, int frameSize, float frameRate, boolean bigEndian)

javax.sound.sampled.AudioFormat.Encoding
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.

BUT,
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..
shrikant
Junior Developer
Junior Developer
 
Posts: 13
Joined: Fri Jun 13, 2008 5:53 am
Location: India

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests