BackgroundAudioPlayer中的随机播放和重复播放功能? [英] Shuffle and repeat feature in the BackgroundAudioPlayer?

查看:107
本文介绍了BackgroundAudioPlayer中的随机播放和重复播放功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何实施Shuffle&在我的BackgroundAudioPlayer中重复功能?

How can i implement Shuffle & Repeat functions in my BackgroundAudioPlayer?

我的所有歌曲都来自网络服务....

All my songs are coming from a web service....

请帮帮我...

提前致谢:) 

Thanks in advance :) 




推荐答案

我认为在BackgroundAudioPlayer中没有任何方法可以随机播放或重复播放。您必须编写自己的代码来随机播放或重复播放音频。

I don't think there is any way to Shuffle or Repeat in BackgroundAudioPlayer. You would have to write your own code to shuffle or repeat audio.

对于随机播放,您可以使用随机类,并在从网络服务中读取歌曲列表后创建一个随机播放列表。

For shuffle may be you can use Random class and create a shuffle list after reading songs list from web service.

http://stackoverflow.com/questions/18293633/vb- net-generate-unique-5-numbers-between-1-and-10


这篇关于BackgroundAudioPlayer中的随机播放和重复播放功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆