diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-04-07 23:02:48 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-04-07 23:02:48 +0000 |
commit | f6d95b7291f09f63f50d3b258f6a82580faf7bca (patch) | |
tree | 11596eb4532d79ba4f0b1220f0f14ce9a67c4e8b /src/polyp/def.h | |
parent | 272ab200c24223a04efcc9f5a5df0e5e70b8de59 (diff) |
add new introspection data field for sinks/sources: a flags field which specifies whether the sink/source supports hw volume control and latency querying
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@661 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp/def.h')
-rw-r--r-- | src/polyp/def.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/polyp/def.h b/src/polyp/def.h index 659b943b..1a7a20c3 100644 --- a/src/polyp/def.h +++ b/src/polyp/def.h @@ -273,6 +273,18 @@ typedef enum pa_seek_mode { PA_SEEK_RELATIVE_END = 3, /**< Seek relatively to the current end of the buffer queue. */ } pa_seek_mode_t; +/** Special sink flags. \since 0.8 */ +typedef enum pa_sink_flags { + PA_SINK_HW_VOLUME_CTRL = 1, /**< Supports hardware volume control */ + PA_SINK_LATENCY = 2 /**< Supports latency querying */ +} pa_sink_flags_t; + +/** Special source flags. \since 0.8 */ +typedef enum pa_source_flags { + PA_SOURCE_HW_VOLUME_CTRL = 1, /**< Supports hardware volume control */ + PA_SOURCE_LATENCY = 2 /**< Supports latency querying */ +} pa_source_flags_t; + PA_C_DECL_END #endif |