From 3d723de1022d2fdeccb9bae6f934e6936445ef21 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Fri, 16 Oct 2020 19:04:14 +0300 Subject: Player: Hide volume slider after 3 sec idle time --- src/audio/player.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/audio/player.h') diff --git a/src/audio/player.h b/src/audio/player.h index 58947ef4..82d95fd2 100644 --- a/src/audio/player.h +++ b/src/audio/player.h @@ -54,6 +54,7 @@ void stop_Player (iPlayer *); void setPaused_Player (iPlayer *, iBool isPaused); void setVolume_Player (iPlayer *, float volume); void setFlags_Player (iPlayer *, int flags, iBool set); +void setNotIdle_Player (iPlayer *); int flags_Player (const iPlayer *); const iString *tag_Player (const iPlayer *, enum iPlayerTag tag); @@ -64,4 +65,5 @@ float time_Player (const iPlayer *); float duration_Player (const iPlayer *); float streamProgress_Player (const iPlayer *); /* normalized 0...1 */ +uint32_t idleTimeMs_Player (const iPlayer *); iString * metadataLabel_Player (const iPlayer *); -- cgit v1.2.3