diff options
author | waker <wakeroid@gmail.com> | 2009-08-06 16:45:01 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-06 16:45:01 +0200 |
commit | e8cae2889860d06219175612e8433f0e89e34292 (patch) | |
tree | 28b7337ea45751825bfd06bb262a90fb6e7b5a79 /playlist.c | |
parent | eb011f7ba8c6c286b9244c8681f6f7e71c6073b9 (diff) |
disabled drag-fail animation (deadbeef side of it)
fixed several alsa problems
fixed some streaming problems
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -676,6 +676,8 @@ ps_set_current (playItem_t *it) { int ret = 0; int from = ps_get_idx_of (playlist_current_ptr); int to = ps_get_idx_of (it); +#if 0 + // this produces some kind of bug in the beginning of track if (it == playlist_current_ptr) { if (it && it->codec) { codec_lock (); @@ -684,6 +686,7 @@ ps_set_current (playItem_t *it) { } return ret; } +#endif codec_lock (); if (playlist_current_ptr && playlist_current_ptr->codec) { playlist_current_ptr->codec->free (); @@ -701,7 +704,7 @@ ps_set_current (playItem_t *it) { } } if (playlist_current_ptr) { - streamer_reset (); + streamer_reset (0); } codec_unlock (); messagepump_push (M_SONGCHANGED, 0, from, to); |