Tuesday, August 20, 2013

[android-developers] Why doesn't music visualization work on Jelly Bean?

Visualization for external players worked before, but it does not work on Jelly bean. I have played music with external players, like Spotify and Winamp, while debugging the apps. The bytes in the updateVisualizerFFT method are always 0 for external players, when a visualizer is created with 0 as an argument:

new Visualizer(0);


This results in no visualization, since there is no signal to use for visualization. Do you know why this happens and how this can be fixed?


It still works for internal players. I mean when the app has its own built in player. The bytes in the updateVisualizerFFT are not 0 then, so the app has something to use for visualization, even when the visualizer is created with 0 as an argument.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment