summaryrefslogtreecommitdiffstats
path: root/src/pulse/ext-device-manager.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2009-10-10 14:19:39 +0100
committerColin Guthrie <cguthrie@mandriva.org>2009-10-10 15:45:49 +0100
commit0ff2a6b434dec1a694f4cde64469ca19d97d9897 (patch)
tree69121ff8dbaabdb86590c9d2b039e70fd9dafc1a /src/pulse/ext-device-manager.h
parent8ec304d2d1e956cc3f5f35437ac4fe580b36f004 (diff)
device-manager: Rather than flagging the device as available, just include the sink/source index with PA_INVALID_INDEX meaning unavailable
Diffstat (limited to 'src/pulse/ext-device-manager.h')
-rw-r--r--src/pulse/ext-device-manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/ext-device-manager.h b/src/pulse/ext-device-manager.h
index 13538f0c..1442a1a9 100644
--- a/src/pulse/ext-device-manager.h
+++ b/src/pulse/ext-device-manager.h
@@ -44,7 +44,7 @@ typedef struct pa_ext_device_manager_info {
const char *name; /**< Identifier string of the device. A string like "sink:" or similar followed by the name of the device. */
const char *description; /**< The description of the device when it was last seen, if applicable and saved */
const char *icon; /**< The icon given to the device */
- uint8_t available; /**< Is the device currently available? */
+ uint32_t index; /**< The device index if it is currently available or PA_INVALID_INDEX */
uint32_t n_role_priorities; /**< How many role priorities do we have? */
pa_ext_device_manager_role_priority_info *role_priorities; /**< An array of role priority structures or NULL */
} pa_ext_device_manager_info;