Re: [android-developers] Change the playback rate of a track in real time

2010-05-02 Thread yakura y
Thanks Anurag, I have fixed the error. At the end, I have used an implementation with AudioTrack. It seems to be ideal for what I am trying to do, but I have another question: Is there any library out there that it allows to decode mp3/ogg to wav in android in realtime? (not necessarily in

[android-developers] Change the playback rate of a track in real time

2010-05-01 Thread yakura y
Hello everybody, I would like to know if somebody knows a library to changing the playback rate of a track in real time. My idea is to load a track and change its playback rate to half or double. Firstly, I tried with MusicPlayer but is was not possible at all and then I tried with SoundPool. The

[android-developers] Change the playback rate of a track in real time

2010-05-01 Thread Y Kim
Hello everybody, I would like to know if somebody knows a library to changing the playback rate of a track in real time. My idea is to load a track and change its playback rate to half or double. Firstly, I tried with MusicPlayer but is was not possible at all and then I tried with SoundPool. The

Re: [android-developers] Change the playback rate of a track in real time

2010-05-01 Thread Anurag Singh
Hey, I just gone through with your code. You are not using public final void setRate (int streamID, float rate)Please take care streamID is different from soundID. streamID is the value returned by the play() function. - Anurag Singh On Sun, May 2, 2010 at 12:48 AM, Y Kim yakura@gmail.com