diff options
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index bc2bd05905..70df8113e0 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -1417,7 +1417,7 @@ int playlist_resume(void) | |||
1417 | }; | 1417 | }; |
1418 | 1418 | ||
1419 | /* use mp3 buffer for maximum load speed */ | 1419 | /* use mp3 buffer for maximum load speed */ |
1420 | #if CONFIG_HWCODEC != MASNONE | 1420 | #if CONFIG_CODEC != SWCODEC |
1421 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ | 1421 | talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ |
1422 | buflen = (audiobufend - audiobuf); | 1422 | buflen = (audiobufend - audiobuf); |
1423 | buffer = audiobuf; | 1423 | buffer = audiobuf; |
@@ -1836,7 +1836,7 @@ int playlist_start(int start_index, int offset) | |||
1836 | struct playlist_info* playlist = ¤t_playlist; | 1836 | struct playlist_info* playlist = ¤t_playlist; |
1837 | 1837 | ||
1838 | playlist->index = start_index; | 1838 | playlist->index = start_index; |
1839 | #if CONFIG_HWCODEC != MASNONE | 1839 | #if CONFIG_CODEC != SWCODEC |
1840 | talk_buffer_steal(); /* will use the mp3 buffer */ | 1840 | talk_buffer_steal(); /* will use the mp3 buffer */ |
1841 | #endif | 1841 | #endif |
1842 | audio_play(offset); | 1842 | audio_play(offset); |