summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-09 18:05:53 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-09 18:05:53 +0200
commitb8d8c455dfeaac3e932473e235322c8305e1bd5d (patch)
treeb743a300c9340f3726a04a56065afe8c5a89f5f7 /streamer.c
parent00352140d7359235a1f9763aca7dad0e2f2bc460 (diff)
fixed unfortunate typo in playlist conventions (ps_ -> pl_)
fixed id3v2 reader to support unsync flag fixed seeking
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/streamer.c b/streamer.c
index 56b4e8a1..4d2973d7 100644
--- a/streamer.c
+++ b/streamer.c
@@ -65,10 +65,10 @@ streamer_thread (uintptr_t ctx) {
//streambuffer_fill = 0;
codecleft = 0;
codec_unlock ();
- ps_set_current (ps_get_for_idx (sng));
+ pl_set_current (pl_get_for_idx (sng));
#if 0
- if (ps_set_current (ps_get_for_idx (sng)) < 0) {
- while (ps_nextsong () < 0) {
+ if (pl_set_current (pl_get_for_idx (sng)) < 0) {
+ while (pl_nextsong () < 0) {
usleep (3000);
}
}
@@ -241,9 +241,9 @@ streamer_read_async (char *bytes, int size) {
}
else {
// that means EOF
- ps_nextsong (0);
+ pl_nextsong (0);
#if 0
- while (ps_nextsong (0) < 0) {
+ while (pl_nextsong (0) < 0) {
usleep (3000);
}
#endif