From 023f6b6efd5407dc77c1253789f61baabb6607d6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 12 Jul 2013 12:06:38 -0400 Subject: Get rid of some superfluous single-purpose functions in playback. * Remove explicit tracking of elapsed time of previous track. * Remove function to obtain auto skip flag. * Most playback events now carry the extra information instead and pass 'struct track_event *' for data. * Tweak scrobbler to use PLAYBACK_EVENT_TRACK_FINISH, which makes it cleaner and removes the struct mp3entry. Change-Id: I500d2abb4056a32646496efc3617406e36811ec5 --- apps/playback.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/playback.h') diff --git a/apps/playback.h b/apps/playback.h index 0a9d22cde2..f56bbfdff0 100644 --- a/apps/playback.h +++ b/apps/playback.h @@ -88,10 +88,6 @@ enum bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ size_t audio_get_filebuflen(void); -/* Automatic transition? Only valid to call during the track change events, - otherwise the result is undefined. */ -bool audio_automatic_skip(void); - unsigned int playback_status(void); #endif /* _PLAYBACK_H */ -- cgit v1.2.3