Alxandr/SpotiFire — Issue #15: MusicDelivery only fired once
Author: Kimmen
Created: 2011-11-24 05:55:47+00:00
State: open

Hi,

I'm playing around with SpotiFire and I've created a small client. But when I run session.PlayerLoad(track), the MusicDelivery event is only fired once. I've tried to set the ConsumedFrames to 0, +1 and Frames.

The part of logging in and search for tracks works perfectly, but not getting music. Seems like I'm doing something wrong. As you see below, I don't do anything strange? (sorry for the syntax coloring the code)

What am I missing? =)

/Joakim.

_spotifyISession.MusicDeliver += (s, e) =>
{
ConsumeData(e.Samples);
e.ConsumedFrames = e.Frames;
} };

var error = _spotifyISession.PlayerLoad(track);