diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-16 19:04:14 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-16 19:04:14 +0300 |
commit | 3d723de1022d2fdeccb9bae6f934e6936445ef21 (patch) | |
tree | 54ff4c5512b0c80b74279a44ad5a552315434c68 /src/audio/player.h | |
parent | abf2be6771d55063044df8efe8bb5c02183c1f7d (diff) |
Player: Hide volume slider after 3 sec idle time
Diffstat (limited to 'src/audio/player.h')
-rw-r--r-- | src/audio/player.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 *); | |||
54 | void setPaused_Player (iPlayer *, iBool isPaused); | 54 | void setPaused_Player (iPlayer *, iBool isPaused); |
55 | void setVolume_Player (iPlayer *, float volume); | 55 | void setVolume_Player (iPlayer *, float volume); |
56 | void setFlags_Player (iPlayer *, int flags, iBool set); | 56 | void setFlags_Player (iPlayer *, int flags, iBool set); |
57 | void setNotIdle_Player (iPlayer *); | ||
57 | 58 | ||
58 | int flags_Player (const iPlayer *); | 59 | int flags_Player (const iPlayer *); |
59 | const iString *tag_Player (const iPlayer *, enum iPlayerTag tag); | 60 | const iString *tag_Player (const iPlayer *, enum iPlayerTag tag); |
@@ -64,4 +65,5 @@ float time_Player (const iPlayer *); | |||
64 | float duration_Player (const iPlayer *); | 65 | float duration_Player (const iPlayer *); |
65 | float streamProgress_Player (const iPlayer *); /* normalized 0...1 */ | 66 | float streamProgress_Player (const iPlayer *); /* normalized 0...1 */ |
66 | 67 | ||
68 | uint32_t idleTimeMs_Player (const iPlayer *); | ||
67 | iString * metadataLabel_Player (const iPlayer *); | 69 | iString * metadataLabel_Player (const iPlayer *); |