Used to get available chapters.
- Note
- These are used and must be set by the addon if the INPUTSTREAM_SUPPORTS_ICHAPTER is set in the capabilities (see GetCapabilities()).
◆ GetChapter()
virtual int GetChapter |
( |
| ) |
|
|
inlinevirtual |
Return currently selected chapter.
- Returns
- Chapter number
◆ GetChapterCount()
virtual int GetChapterCount |
( |
| ) |
|
|
inlinevirtual |
Return number of available chapters.
- Returns
- Chapter count
◆ GetChapterName()
virtual const char * GetChapterName |
( |
int | ch | ) |
|
|
inlinevirtual |
Return name of chapter.
- Parameters
-
- Returns
- Chapter name
◆ GetChapterPos()
virtual int64_t GetChapterPos |
( |
int | ch | ) |
|
|
inlinevirtual |
Return position if chapter # ch in milliseconds.
- Parameters
-
[in] | ch | Chapter to get position from |
- Returns
- Position in milliseconds
◆ SeekChapter()
virtual bool SeekChapter |
( |
int | ch | ) |
|
|
inlinevirtual |
Seek to the beginning of chapter # ch.
- Parameters
-
- Returns
- True if successfully done, false if not