diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index 28f664357c..100558177e 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -855,7 +855,8 @@ static int shrink_callback(int handle, unsigned hints, void* start, size_t old_s | |||
855 | 855 | ||
856 | /* TODO: Do it without stopping playback, if possible */ | 856 | /* TODO: Do it without stopping playback, if possible */ |
857 | long offset = audio_current_track()->offset; | 857 | long offset = audio_current_track()->offset; |
858 | bool playing = (audio_status() & AUDIO_STATUS_PLAY) == AUDIO_STATUS_PLAY; | 858 | /* resume if playing */ |
859 | bool playing = (audio_status() == AUDIO_STATUS_PLAY); | ||
859 | /* There's one problem with stoping and resuming: If it happens in a too | 860 | /* There's one problem with stoping and resuming: If it happens in a too |
860 | * frequent fashion, the codecs lose the resume postion and playback | 861 | * frequent fashion, the codecs lose the resume postion and playback |
861 | * begins from the beginning. | 862 | * begins from the beginning. |