summaryrefslogtreecommitdiffstats
path: root/src/pulse/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-07-16 17:28:10 +0000
committerLennart Poettering <lennart@poettering.net>2006-07-16 17:28:10 +0000
commit494fa68327fb52276d68437e8467886ce81de297 (patch)
tree6ed0a4181c7242c197e72d97fa83825cb6ca5bea /src/pulse/def.h
parent6e38949039cca052ee0d167b92f895e4d95ee30d (diff)
add new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flag
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1091 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r--src/pulse/def.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index b98337d2..06d4c7c2 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -295,13 +295,15 @@ typedef enum pa_seek_mode {
/** 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_LATENCY = 2, /**< Supports latency querying */
+ PA_SINK_HARDWARE = 4 /**< Is a hardware sink of some kind, in contrast to "virtual"/software sinks */
} 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_LATENCY = 2, /**< Supports latency querying */
+ PA_SOURCE_HARDWARE = 4 /**< Is a hardware source of some kind, in contrast to "virtual"/software source */
} pa_source_flags_t;
/** A generic free() like callback prototype */