diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-09-24 16:10:43 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-09-24 16:10:43 +0000 |
commit | ba322a49e1754eba11495da9a10e3e0dbbe89244 (patch) | |
tree | b6aa695dade95ac7bbe70c69664c2e12c89c8e98 /src/pulse/def.h | |
parent | 77ed60ce4cd02cb4b383ab4d6e9b51701fb03a07 (diff) |
drop the PA_SOURCE_CAN_SUSPEND and PA_SINK_CAN_SUSPEND flags, since they were a bad idea in the first place. All sinks/sources are now *required* to handle suspending in one way or another. Luckily all current sink/source implementations handle it fine anyway.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1894 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r-- | src/pulse/def.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h index 4102ba6e..c2816234 100644 --- a/src/pulse/def.h +++ b/src/pulse/def.h @@ -300,16 +300,14 @@ 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_CAN_SUSPEND = 8 /**< Can suspend \since 0.9.7 */ + PA_SINK_HARDWARE = 4 /**< Is a hardware sink of some kind, in contrast to "virtual"/software sinks \since 0.9.3 */ } 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_CAN_SUSPEND = 8 /**< Can suspend \since 0.9.7 */ + PA_SOURCE_HARDWARE = 4 /**< Is a hardware source of some kind, in contrast to "virtual"/software source \since 0.9.3 */ } pa_source_flags_t; /** A generic free() like callback prototype */ |