mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-26 04:26:14 -05:00
This commit is contained in:
21
src/input.h
21
src/input.h
@@ -196,17 +196,6 @@ input_buffer_full_cb(input_cb cb);
|
||||
int
|
||||
input_seek(uint32_t item_id, int seek_ms);
|
||||
|
||||
/*
|
||||
* Same as input_seek(), except if the item is already being read we don't do
|
||||
* anything (no flush & seek)
|
||||
*
|
||||
* @in item_id Queue item id to start playing
|
||||
* @in seek_ms Position to start playing
|
||||
* @return Actual seek position if seekable, 0 otherwise, -1 on error
|
||||
*/
|
||||
int
|
||||
input_resume(uint32_t item_id, int seek_ms);
|
||||
|
||||
/*
|
||||
* Same as input_seek(), just non-blocking and does not offer seek.
|
||||
*
|
||||
@@ -215,6 +204,16 @@ input_resume(uint32_t item_id, int seek_ms);
|
||||
void
|
||||
input_start(uint32_t item_id);
|
||||
|
||||
/*
|
||||
* Same as input_seek(), but non-blocking and if the item is already being read
|
||||
* we don't do anything (no flush & seek)
|
||||
*
|
||||
* @in item_id Queue item id to start playing
|
||||
* @in seek_ms Position to start playing
|
||||
*/
|
||||
void
|
||||
input_resume(uint32_t item_id, int seek_ms);
|
||||
|
||||
/*
|
||||
* Stops the input and clears everything. Flushes the input buffer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user