交叉淡入淡出对我的Andr​​oid音乐播放器 [英] Crossfade for my Android Music Player

查看:142
本文介绍了交叉淡入淡出对我的Andr​​oid音乐播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个音乐播放器。
现在我想要添加的交叉淡入淡出功能。
也许有人知道一个好办法做到这一点。
非常感谢,Vinzenz:)

I'm working on a music player. Now I want to add the crossfade function. Maybe someone knows a good way to do this. Thanks a lot, Vinzenz :)

推荐答案

您可以用音乐播放器的音量动态地实现它。
<一href=\"http://stackoverflow.com/questions/6884590/android-how-to-create-fade-in-fade-out-sound-effects-for-any-music-file-that-my\">link

You can implement it with music player volume dynamically. link

这是最流行的Andr​​oid开源音乐播放器之一。它也有淡入淡出功能。请参阅

This is one of the most popular android open source music player. It also have crossfading functionalities. Please see the

AudioPlaybackService.java

AudioPlaybackService.java

对于交叉淡入淡出可运行。

for the crossfade runnables.

这篇关于交叉淡入淡出对我的Andr​​oid音乐播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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