mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
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
This commit is contained in:
parent
d88514c58c
commit
ee97c4295a
1 changed files with 4 additions and 2 deletions
|
|
@ -300,14 +300,16 @@ typedef enum pa_seek_mode {
|
||||||
typedef enum pa_sink_flags {
|
typedef enum pa_sink_flags {
|
||||||
PA_SINK_HW_VOLUME_CTRL = 1, /**< Supports hardware volume control */
|
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 \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;
|
} pa_sink_flags_t;
|
||||||
|
|
||||||
/** Special source flags. \since 0.8 */
|
/** Special source flags. \since 0.8 */
|
||||||
typedef enum pa_source_flags {
|
typedef enum pa_source_flags {
|
||||||
PA_SOURCE_HW_VOLUME_CTRL = 1, /**< Supports hardware volume control */
|
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 \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;
|
} pa_source_flags_t;
|
||||||
|
|
||||||
/** A generic free() like callback prototype */
|
/** A generic free() like callback prototype */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue