public int MusicDelivery(ISpotifySession session, AudioFormat format, IntPtr frames, int num_frames) { if (num_frames == 0) { return(0); } _soundOutput.AddSamples(frames, num_frames); return(num_frames); }