diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-07-12 12:06:38 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2013-07-13 00:08:51 -0400 |
commit | 023f6b6efd5407dc77c1253789f61baabb6607d6 (patch) | |
tree | 40d43117a7651715a2ce983eedff56b27962881a /apps/playback.h | |
parent | ffa8626b0c93f8a65e0e17190917f7f173160842 (diff) | |
download | rockbox-023f6b6efd5407dc77c1253789f61baabb6607d6.tar.gz rockbox-023f6b6efd5407dc77c1253789f61baabb6607d6.zip |
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
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 4 |
1 files changed, 0 insertions, 4 deletions
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 | |||
88 | bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ | 88 | bool audio_restore_playback(int type); /* Restores the audio buffer to handle the requested playback */ |
89 | size_t audio_get_filebuflen(void); | 89 | size_t audio_get_filebuflen(void); |
90 | 90 | ||
91 | /* Automatic transition? Only valid to call during the track change events, | ||
92 | otherwise the result is undefined. */ | ||
93 | bool audio_automatic_skip(void); | ||
94 | |||
95 | unsigned int playback_status(void); | 91 | unsigned int playback_status(void); |
96 | 92 | ||
97 | #endif /* _PLAYBACK_H */ | 93 | #endif /* _PLAYBACK_H */ |