diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder_internal.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/decoder_internal.h b/src/decoder_internal.h index 2347fdf4e..5818632e5 100644 --- a/src/decoder_internal.h +++ b/src/decoder_internal.h @@ -37,6 +37,20 @@ 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. |