SoundPool seems screwed up on the Evo 4G too. On G1/N1/Droid I can play a sound at low priority, then change its stream to high priority. This prevents sounds from stopping each other, even when the maximum streams are reached. The new sound just won't play instead. I think it is nicer than stopping a sound midway through. This doesn't work on the Evo 4G, though. It just starts ignoring all new sounds requests, even if previous ones are long finished, and no sounds get played at all after the first few.
On Jun 9, 6:50 pm, "info.sktechnol...@gmail.com" <info.sktechnol...@gmail.com> wrote: > I create a media player for playing an audio file. > After it plays for a while I pause it. > I then seek to a position 5 seconds earlier (the new position) than > the current position (the old position). > I immediately call getCurrentPosition and it returns the correct new > position. > I have an OnSeekCompleteListener and in it I call getCurrentPosition. > It returns the old position (before the seek). > Any additional calls to getCurrentPosition with the media player > paused > return the old position. > When I now call start, it starts playing from the new position, > and after that, calls to getCurrentPosition are correct. > Note: all calls are being made by the same thread. > > The problem does not occur if I do all of this while the player is > playing. > The problem occurs only on my stock EVO running 2.1-update1 > (1.32.651.6). > It does not occur on my G1 (1.6), Hero (2.1), Nexus (2.1) > or in the emulator. > > Any ideas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en