libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
mediaiotypes.h
Go to the documentation of this file.
1
8#pragma once
9
10
11#include <promeki/config.h>
12#if PROMEKI_ENABLE_PROAV
13#include <promeki/namespace.h>
15
16PROMEKI_NAMESPACE_BEGIN
17
18// ============================================================================
19// MediaIO supporting types — used by both the MediaIO public API
20// (mediaio.h) and the command hierarchy (mediaiocommand.h). Lives in its
21// own header so the dependency tree stays acyclic:
22//
23// mediaiotypes.h ← mediaio.h
24// ↑ ↑
25// +-- mediaiocommand.h
26//
27// neither mediaio.h nor mediaiocommand.h needs to include the other for
28// these types — both reach them through this header.
29// ============================================================================
30
42enum MediaIOSeekMode {
43 MediaIO_SeekDefault = 0,
44 MediaIO_SeekExact,
45 MediaIO_SeekNearestKeyframe,
46 MediaIO_SeekKeyframeBefore,
47 MediaIO_SeekKeyframeAfter
48};
49
61using MediaIOParams = VariantDatabase<"MediaIOParams">;
62
67using MediaIOParamsID = MediaIOParams::ID;
68
69PROMEKI_NAMESPACE_END
70
71#endif // PROMEKI_ENABLE_PROAV