summaryrefslogtreecommitdiff
path: root/firmware/export/audio.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-02-10 10:26:07 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-02-10 10:26:07 +0000
commitedfff8a5efb1bca75f8b49c3ad3dd151653d39c8 (patch)
tree88d2c99f09f107489f67250403aa7e9c1ccdb26f /firmware/export/audio.h
parent6f9d2ad130701ec6b54ed90885c6972dbef79d27 (diff)
downloadrockbox-edfff8a5efb1bca75f8b49c3ad3dd151653d39c8.zip
rockbox-edfff8a5efb1bca75f8b49c3ad3dd151653d39c8.tar.gz
rockbox-edfff8a5efb1bca75f8b49c3ad3dd151653d39c8.tar.bz2
rockbox-edfff8a5efb1bca75f8b49c3ad3dd151653d39c8.tar.xz
audio_peek_track should copy the struct mp3entry instead of pointing directly into the buffer. Despite the dire warning, caller does in fact yield/sleep and its usage is too nonlocalized to control that reliably.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/audio.h')
-rw-r--r--firmware/export/audio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index 34bcfb6..910791c 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -60,7 +60,7 @@ void audio_ff_rewind(long newpos);
void audio_flush_and_reload_tracks(void);
struct mp3entry* audio_current_track(void);
struct mp3entry* audio_next_track(void);
-bool audio_peek_track(struct mp3entry** id3, int offset);
+bool audio_peek_track(struct mp3entry* id3, int offset);
#ifdef HAVE_DISK_STORAGE
void audio_set_buffer_margin(int setting);
#endif