aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_internal.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-22 00:27:34 +0200
committerMax Kellermann <max@duempel.org>2011-09-22 00:27:34 +0200
commit7e219c362cf8bca80f60a79b77d95a228ff8ffcb (patch)
treed2c44d848c59f074bd1f78dc94732404326d711e /src/decoder_internal.h
parent203f48d1fd490fa136df36b96d75d279e3c17047 (diff)
parent525a791987c66ed2f8b1ca9e5357836f536fdb8b (diff)
Merge branch 'v0.16.x'
Conflicts: src/player_thread.c
Diffstat (limited to 'src/decoder_internal.h')
-rw-r--r--src/decoder_internal.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/decoder_internal.h b/src/decoder_internal.h
index 78a783f5..d89e68cf 100644
--- a/src/decoder_internal.h
+++ b/src/decoder_internal.h
@@ -36,6 +36,25 @@ struct decoder {
*/
double timestamp;
+ /**
+ * Is the initial seek (to the start position of the sub-song)
+ * pending, or has it been performed already?
+ */
+ bool initial_seek_pending;
+
+ /**
+ * Is the initial seek currently running? During this time,
+ * the decoder command is SEEK. This flag is set by
+ * decoder_get_virtual_command(), when the virtual SEEK
+ * command is generated for the first time.
+ */
+ bool initial_seek_running;
+
+ /**
+ * This flag is set by decoder_seek_where(), and checked by
+ * decoder_command_finished(). It is used to clean up after
+ * seeking.
+ */
bool seeking;
/**