diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-11-24 07:55:56 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-11-24 08:55:49 -0500 |
commit | abef23608152a2839c34dcfc283d1561b3eadd45 (patch) | |
tree | eb03da5bfd7bc9ec7858e3fed123b93ece24df90 /apps/playback.h | |
parent | 75d2e1f35c0ec40f839687ed2d1a670b0da41a36 (diff) | |
download | rockbox-abef23608152a2839c34dcfc283d1561b3eadd45.tar.gz rockbox-abef23608152a2839c34dcfc283d1561b3eadd45.zip |
Do playback restarts the proper way
It isn't necessary to explicitly stop and restart playback to
force it to update something that must cause rebuffering.
Change-Id: I6ff5394fcafc7374af67ef9fbf9022bb4a79b773
Diffstat (limited to 'apps/playback.h')
-rw-r--r-- | apps/playback.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/playback.h b/apps/playback.h index 177768ded3..8a63bd7907 100644 --- a/apps/playback.h +++ b/apps/playback.h | |||
@@ -62,12 +62,18 @@ int playback_claim_aa_slot(struct dim *dim); | |||
62 | * Save to call from other threads */ | 62 | * Save to call from other threads */ |
63 | void playback_release_aa_slot(int slot); | 63 | void playback_release_aa_slot(int slot); |
64 | 64 | ||
65 | /* | ||
66 | * Tells playback to sync buffered album art dimensions | ||
67 | * | ||
68 | * Save to call from other threads */ | ||
69 | void playback_update_aa_dims(void); | ||
70 | |||
65 | struct bufopen_bitmap_data { | 71 | struct bufopen_bitmap_data { |
66 | struct dim *dim; | 72 | struct dim *dim; |
67 | struct mp3_albumart *embedded_albumart; | 73 | struct mp3_albumart *embedded_albumart; |
68 | }; | 74 | }; |
69 | 75 | ||
70 | #endif | 76 | #endif /* HAVE_ALBUMART */ |
71 | 77 | ||
72 | /* Functions */ | 78 | /* Functions */ |
73 | int audio_track_count(void); | 79 | int audio_track_count(void); |
@@ -79,6 +85,9 @@ void audio_set_cuesheet(bool enable); | |||
79 | #ifdef HAVE_CROSSFADE | 85 | #ifdef HAVE_CROSSFADE |
80 | void audio_set_crossfade(int enable); | 86 | void audio_set_crossfade(int enable); |
81 | #endif | 87 | #endif |
88 | #ifdef HAVE_PLAY_FREQ | ||
89 | void audio_set_playback_frequency(int setting); | ||
90 | #endif | ||
82 | 91 | ||
83 | size_t audio_get_filebuflen(void); | 92 | size_t audio_get_filebuflen(void); |
84 | 93 | ||