开发者

fast forwarding Audio file using media player android

开发者 https://www.devze.com 2023-02-27 18:49 出处:网络
how to fast forwarding an Audio file using media player in and开发者_开发知识库roid on seekbar progress change?I would use the \'seekTo()\'-method and jump about 10 or 20 seconds each time.I don\'t th

how to fast forwarding an Audio file using media player in and开发者_开发知识库roid on seekbar progress change?


I would use the 'seekTo()'-method and jump about 10 or 20 seconds each time.


I don't think MediaPlayer can do much more than play/pause actually. I'm using SoundPool non-stop, so someone should correct me if I'm wrong here.

I think you might need to add different versions of the song (with different speed) and change the actual source each time you want to speed up.

0

精彩评论

暂无评论...
验证码 换一张
取 消