diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index 7ef4f7b4bc..7c5ebe6b0e 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -1102,7 +1102,7 @@ void audio_check_buffer(void) | |||
1102 | } | 1102 | } |
1103 | 1103 | ||
1104 | track_count = i; | 1104 | track_count = i; |
1105 | if (tracks[track_widx].filerem != 0) | 1105 | if (tracks[track_widx].filesize != 0) |
1106 | track_count++; | 1106 | track_count++; |
1107 | 1107 | ||
1108 | /* Mark all other entries null. */ | 1108 | /* Mark all other entries null. */ |
@@ -1487,6 +1487,8 @@ void audio_next(void) | |||
1487 | ci.stop_codec = true; | 1487 | ci.stop_codec = true; |
1488 | playlist_next(1); | 1488 | playlist_next(1); |
1489 | queue_post(&audio_queue, AUDIO_PLAY, 0); | 1489 | queue_post(&audio_queue, AUDIO_PLAY, 0); |
1490 | } else if (!pcm_crossfade_start()) { | ||
1491 | pcm_play_stop(); | ||
1490 | } | 1492 | } |
1491 | } | 1493 | } |
1492 | 1494 | ||