diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c index 0680c5f453..9676a107d0 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -820,7 +820,7 @@ void audio_set_crossfade(int enable) | |||
820 | offset = CUR_TI->id3.offset; | 820 | offset = CUR_TI->id3.offset; |
821 | 821 | ||
822 | /* Playback has to be stopped before changing the buffer size. */ | 822 | /* Playback has to be stopped before changing the buffer size. */ |
823 | gui_syncsplash(0, true, (char *)str(LANG_RESTARTING_PLAYBACK)); | 823 | gui_syncsplash(0, (char *)str(LANG_RESTARTING_PLAYBACK)); |
824 | audio_stop(); | 824 | audio_stop(); |
825 | } | 825 | } |
826 | 826 | ||
@@ -2006,7 +2006,7 @@ static void codec_thread(void) | |||
2006 | if (!ci.new_track) | 2006 | if (!ci.new_track) |
2007 | { | 2007 | { |
2008 | logf("Codec failure"); | 2008 | logf("Codec failure"); |
2009 | gui_syncsplash(HZ*2, true, "Codec failure"); | 2009 | gui_syncsplash(HZ*2, "Codec failure"); |
2010 | } | 2010 | } |
2011 | 2011 | ||
2012 | if (!codec_load_next_track()) | 2012 | if (!codec_load_next_track()) |
@@ -2060,7 +2060,7 @@ static void codec_thread(void) | |||
2060 | break; | 2060 | break; |
2061 | 2061 | ||
2062 | logf("Encoder failure"); | 2062 | logf("Encoder failure"); |
2063 | gui_syncsplash(HZ*2, true, "Encoder failure"); | 2063 | gui_syncsplash(HZ*2, "Encoder failure"); |
2064 | 2064 | ||
2065 | if (ci.enc_codec_loaded < 0) | 2065 | if (ci.enc_codec_loaded < 0) |
2066 | break; | 2066 | break; |
@@ -2742,7 +2742,7 @@ static bool audio_load_track(int offset, bool start_play, bool rebuffer) | |||
2742 | * the codec file failed part way through, either way, skip the track */ | 2742 | * the codec file failed part way through, either way, skip the track */ |
2743 | snprintf(msgbuf, sizeof(msgbuf)-1, "No codec for: %s", trackname); | 2743 | snprintf(msgbuf, sizeof(msgbuf)-1, "No codec for: %s", trackname); |
2744 | /* We should not use gui_syncplash from audio thread! */ | 2744 | /* We should not use gui_syncplash from audio thread! */ |
2745 | gui_syncsplash(HZ*2, true, msgbuf); | 2745 | gui_syncsplash(HZ*2, msgbuf); |
2746 | /* Skip invalid entry from playlist. */ | 2746 | /* Skip invalid entry from playlist. */ |
2747 | playlist_skip_entry(NULL, last_peek_offset); | 2747 | playlist_skip_entry(NULL, last_peek_offset); |
2748 | tracks[track_widx].taginfo_ready = false; | 2748 | tracks[track_widx].taginfo_ready = false; |