skin_token.c, playback.c, add get_temp_mp3entry()

add function get_temp_mp3entry() to return a valid mp3entry from scratch_mem
UNBUFFERED_ID3
or if playback hasn't been started used statically allocated mp3entry
NEXTTRACK_ID3

Change-Id: I3909fb585e0f5ad590f917ce827e991440f1fe75
This commit is contained in:
William Wilgus 2024-12-25 12:17:37 -05:00 committed by William Wilgus
parent d323d968d8
commit b07d7d6af0
3 changed files with 51 additions and 19 deletions

View file

@ -93,4 +93,6 @@ size_t audio_get_filebuflen(void);
unsigned int playback_status(void);
struct mp3entry* get_temp_mp3entry(struct mp3entry *free);
#endif /* _PLAYBACK_H */