summaryrefslogtreecommitdiff
path: root/apps/playlist.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-05 11:33:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-05 11:33:58 +0000
commitd34865a5307e7bf91d986036797423975ac828b4 (patch)
tree41dcc1775f6cdc1d655f1eddadaabdf90c7ac22f /apps/playlist.c
parent6cf9d51b3374cdc436c45f165a10f607832126ee (diff)
downloadrockbox-d34865a5307e7bf91d986036797423975ac828b4.tar.gz
rockbox-d34865a5307e7bf91d986036797423975ac828b4.zip
mp3buf renamed to audiobuf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 3370937a69..8c9d6d11c7 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -351,8 +351,8 @@ static int add_indices_to_playlist(struct playlist_info* playlist,
351 audio_stop(); 351 audio_stop();
352 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ 352 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */
353 353
354 buffer = mp3buf; 354 buffer = audiobuf;
355 buflen = (mp3end - mp3buf); 355 buflen = (audiobufend - audiobuf);
356 } 356 }
357 357
358 store_index = true; 358 store_index = true;
@@ -1211,8 +1211,8 @@ int playlist_resume(void)
1211 1211
1212 /* use mp3 buffer for maximum load speed */ 1212 /* use mp3 buffer for maximum load speed */
1213 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */ 1213 talk_buffer_steal(); /* we use the mp3 buffer, need to tell */
1214 buflen = (mp3end - mp3buf); 1214 buflen = (audiobufend - audiobuf);
1215 buffer = mp3buf; 1215 buffer = audiobuf;
1216 1216
1217 empty_playlist(playlist, true); 1217 empty_playlist(playlist, true);
1218 1218
@@ -1294,7 +1294,7 @@ int playlist_resume(void)
1294 if (str3[0] != '\0') 1294 if (str3[0] != '\0')
1295 { 1295 {
1296 /* NOTE: add_indices_to_playlist() overwrites the 1296 /* NOTE: add_indices_to_playlist() overwrites the
1297 mp3buf so we need to reload control file 1297 audiobuf so we need to reload control file
1298 data */ 1298 data */
1299 add_indices_to_playlist(playlist, NULL, 0); 1299 add_indices_to_playlist(playlist, NULL, 0);
1300 } 1300 }