- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
//
switch (cwin->cpref->shuffle) {
case TRUE:
last = g_list_last(cwin->cstate->rand_track_refs);
if ((!cwin->cstate->curr_rand_ref) || (last && (cwin->cstate->curr_rand_ref == last->data))){
path = get_next_unplayed_random_track(cwin);
if (!path)
rand_unplayed = TRUE;
}
else path = get_next_random_ref_track(cwin);
break;
case FALSE:
path = get_next_sequential_track(cwin);
if (!path) seq_last = TRUE;
break;
default:
break;
}
rat4 01.05.2012 16:07 # 0