Sha256: d270d195086ee649c48b782f5dd95533944e2a6b48f7c148824397eeac8609ea

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

#include "libmockspotify.h"

sp_error
sp_session_player_load(sp_session *session, sp_track *track)
{
  session->player.track = track;
  return SP_ERROR_OK;
}

void
sp_session_player_seek(sp_session *session, int offset)
{
  session->player.position = offset;
}

void
sp_session_player_play(sp_session *session, bool play)
{
  session->player.playing = play;
}

void
sp_session_player_unload(sp_session *session)
{
  session->player.track = NULL;
}

sp_error
sp_session_player_prefetch(sp_session *session, sp_track *track)
{
  return SP_ERROR_OK;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hallon-0.8.0 spec/mockspotify/libmockspotify/src/player.c