mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
FS#9638 - temp_cue is unused and wasting memory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19890 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
31c8eee99d
commit
91948d12aa
6 changed files with 7 additions and 38 deletions
|
@ -45,7 +45,6 @@
|
|||
#define CUE_DIR ROCKBOX_DIR "/cue"
|
||||
|
||||
struct cuesheet *curr_cue;
|
||||
struct cuesheet *temp_cue;
|
||||
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
/* special trickery because the hwcodec playback engine is in firmware/ */
|
||||
|
@ -59,13 +58,11 @@ void cuesheet_init(void)
|
|||
{
|
||||
if (global_settings.cuesheet) {
|
||||
curr_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
|
||||
temp_cue = (struct cuesheet *)buffer_alloc(sizeof(struct cuesheet));
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
audio_set_cuesheet_callback(cuesheet_handler);
|
||||
#endif
|
||||
} else {
|
||||
curr_cue = NULL;
|
||||
temp_cue = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue