You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So i am using com.chibde.visualizer.LineBarVisualizer for some visual effect to songs playing in MediaPlayer. But the thing is when i change activity and come back to the activity where song was playing with visualiser the visualiser is gone. I am aware that LineBarVisualizer uses audiosessionid fr effect to show up. I am even trying to save the audiosessionid in savedinstance and restoring on restoresavedinstance but it responds only to orientation change, not to activity change
`public int getAudioId() {
if (mBound) {
if (mediaPlayer != null) {
audioId = mService.getAudioId();
}
}
return audioId;
}
So i am using com.chibde.visualizer.LineBarVisualizer for some visual effect to songs playing in MediaPlayer. But the thing is when i change activity and come back to the activity where song was playing with visualiser the visualiser is gone. I am aware that LineBarVisualizer uses audiosessionid fr effect to show up. I am even trying to save the audiosessionid in savedinstance and restoring on restoresavedinstance but it responds only to orientation change, not to activity change
`public int getAudioId() {
if (mBound) {
if (mediaPlayer != null) {
audioId = mService.getAudioId();
}
}
return audioId;
}
`
The text was updated successfully, but these errors were encountered: