

This makes me thing that the audio sessionId is not the same one as Spotify is playing on. If I run this, everything compiles and runs okay, but the visualizer does not pick up any audio.

tDataCaptureListener(this, Visualizer.getMaxCaptureRate(), true, true) Visualizer = new Visualizer(audioSessionId) Int audioSessionId = mediaPlayer.getAudioSessionId() tAudioStreamType(AudioManager.STREAM_MUSIC) MediaPlayer mediaPlayer = new MediaPlayer()

VisualizerModel.getInstance().getTrackURI(), 0, 0) I'm having a difficult time getting Androids Visualizer library to pick up any audio from Spotify (it works fine if I use a local. I'm using Spotify's android-streaming-sdk which creates a local service (no need to have the Spotify app installed) and it plays music from within the app. I'm making an Android audio visualizer app for streaming Spotify music.
