diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-08-30 22:38:57 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-08-30 22:38:57 +0000 |
commit | ee97c4295aa1b75c2ad37a32a152fa3c15aa59db (patch) | |
tree | 462a4cba8d5a187058f92b635fddd6de26dc8849 | |
parent | d88514c58c2084639fd98f1070171a819b15c048 (diff) |
add new PA_SINK_CAN_SUSPEND/PA_SOURCE_CAN_SUSPEND flag
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1724 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/pulse/def.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h index c2816234..4102ba6e 100644 --- a/src/pulse/def.h +++ b/src/pulse/def.h @@ -300,14 +300,16 @@ typedef enum pa_seek_mode { typedef enum pa_sink_flags { PA_SINK_HW_VOLUME_CTRL = 1, /**< Supports hardware volume control */ PA_SINK_LATENCY = 2, /**< Supports latency querying */ - PA_SINK_HARDWARE = 4 /**< Is a hardware sink of some kind, in contrast to "virtual"/software sinks \since 0.9.3 */ + PA_SINK_HARDWARE = 4, /**< Is a hardware sink of some kind, in contrast to "virtual"/software sinks \since 0.9.3 */ + PA_SINK_CAN_SUSPEND = 8 /**< Can suspend \since 0.9.7 */ } 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_HARDWARE = 4 /**< Is a hardware source of some kind, in contrast to "virtual"/software source \since 0.9.3 */ + PA_SOURCE_HARDWARE = 4, /**< Is a hardware source of some kind, in contrast to "virtual"/software source \since 0.9.3 */ + PA_SOURCE_CAN_SUSPEND = 8 /**< Can suspend \since 0.9.7 */ } pa_source_flags_t; /** A generic free() like callback prototype */ |