diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/radio/radioart.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/radio/radioart.c b/apps/radio/radioart.c index e21b135342..4268272cdf 100644 --- a/apps/radio/radioart.c +++ b/apps/radio/radioart.c | |||
@@ -174,6 +174,12 @@ void radioart_init(bool entering_screen) | |||
174 | radioart[i].name[0] = '\0'; | 174 | radioart[i].name[0] = '\0'; |
175 | } | 175 | } |
176 | add_event(PLAYBACK_EVENT_START_PLAYBACK, true, playback_restarting_handler); | 176 | add_event(PLAYBACK_EVENT_START_PLAYBACK, true, playback_restarting_handler); |
177 | |||
178 | /* grab control over buffering */ | ||
179 | char* buf; | ||
180 | size_t bufsize; | ||
181 | buf = audio_get_buffer(false, &bufsize); | ||
182 | buffering_reset(buf, bufsize); | ||
177 | } | 183 | } |
178 | else | 184 | else |
179 | { | 185 | { |