Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lib: Init fifo if play_next is called

  • Loading branch information...
commit 6d9dca78cd335e32e2b347ca8d2e220ae467323e 1 parent d559c6a
@SimonKagstrom authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/lib/despotify.c
View
7 src/lib/despotify.c
@@ -455,6 +455,13 @@ bool despotify_play(struct despotify_session* ds,
void despotify_next(struct despotify_session* ds)
{
+ if (ds->fifo) {
+ snd_stop(ds);
+ ds->offset = 0;
+ }
+ else
+ snd_init(ds);
+
if (snd_next(ds))
return;
Please sign in to comment.
Something went wrong with that request. Please try again.