diff options
Diffstat (limited to 'src/pulse/proplist.h')
-rw-r--r-- | src/pulse/proplist.h | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/src/pulse/proplist.h b/src/pulse/proplist.h index f433ec62..f75cca54 100644 --- a/src/pulse/proplist.h +++ b/src/pulse/proplist.h @@ -1,8 +1,6 @@ #ifndef foopulseproplisthfoo #define foopulseproplisthfoo -/* $Id$ */ - /*** This file is part of PulseAudio. @@ -24,6 +22,8 @@ USA. ***/ +#include <sys/types.h> + #include <pulse/cdecl.h> #include <pulse/gccmacro.h> @@ -40,16 +40,25 @@ PA_C_DECL_BEGIN * media.icon_name * media.role video, music, game, event, phone, production, filter, abstract, stream * event.id button-click, session-login - * event.x11.display - * event.x11.xid - * event.x11.x_pointer - * event.x11.y_pointer - * event.x11.button + * event.mouse.x + * event.mouse.y + * event.mouse.hpos + * event.mouse.vpos + * event.mouse.button + * window.name + * window.id + * window.icon + * window.icon_name + * window.x11.display + * window.x11.screen + * window.x11.monitor + * window.x11.xid * application.name "Rhythmbox Media Player" * application.id "org.gnome.rhythmbox" * application.version * application.icon * application.icon_name + * application.language * application.process.id * application.process.binary * application.process.user @@ -60,14 +69,14 @@ PA_C_DECL_BEGIN * device.bus_path * device.serial * device.vendor_product_id - * device.class sound, modem, monitor, filter + * device.class sound, modem, monitor, filter, abstract * device.form_factor laptop-speakers, external-speakers, telephone, tv-capture, webcam-capture, microphone-capture, headset * device.connector isa, pci, usb, firewire, bluetooth * device.access_mode mmap, mmap_rewrite, serial * device.master_device - * device.buffer_size + * device.bufferin.buffer_size + * device.bufferin.fragment_size */ - #define PA_PROP_MEDIA_NAME "media.name" #define PA_PROP_MEDIA_TITLE "media.title" #define PA_PROP_MEDIA_ARTIST "media.artist" @@ -77,11 +86,19 @@ PA_C_DECL_BEGIN #define PA_PROP_MEDIA_ICON_NAME "media.icon_name" #define PA_PROP_MEDIA_ROLE "media.role" #define PA_PROP_EVENT_ID "event.id" -#define PA_PROP_EVENT_X11_DISPLAY "event.x11.display" -#define PA_PROP_EVENT_X11_XID "event.x11.xid" #define PA_PROP_EVENT_MOUSE_X "event.mouse.x" #define PA_PROP_EVENT_MOUSE_Y "event.mouse.y" +#define PA_PROP_EVENT_MOUSE_HPOS "event.mouse.hpos" +#define PA_PROP_EVENT_MOUSE_VPOS "event.mouse.vpos" #define PA_PROP_EVENT_MOUSE_BUTTON "event.mouse.button" +#define PA_PROP_WINDOW_NAME "window.name" +#define PA_PROP_WINDOW_ID "window.id" +#define PA_PROP_WINDOW_ICON "window.icon" +#define PA_PROP_WINDOW_ICON_NAME "window.icon_name" +#define PA_PROP_WINDOW_X11_DISPLAY "window.x11.display" +#define PA_PROP_WINDOW_X11_SCREEN "window.x11.screen" +#define PA_PROP_WINDOW_X11_MONITOR "window.x11.monitor" +#define PA_PROP_WINDOW_X11_XID "window.x11.xid" #define PA_PROP_APPLICATION_NAME "application.name" #define PA_PROP_APPLICATION_ID "application.id" #define PA_PROP_APPLICATION_VERSION "application.version" @@ -174,9 +191,10 @@ int pa_proplist_unset_many(pa_proplist *p, const char * const keys[]); * to this variable should then be passed to pa_proplist_iterate() * which should be called in a loop until it returns NULL which * signifies EOL. The property list should not be modified during - * iteration through the list. On each invication this function will - * return the key string for the next entry. The keys in the property - * list do not have any particular order. \since 0.9.11 */ + * iteration through the list -- except for deleting the current + * looked at entry. On each invication this function will return the + * key string for the next entry. The keys in the property list do not + * have any particular order. \since 0.9.11 */ const char *pa_proplist_iterate(pa_proplist *p, void **state); /** Format the property list nicely as a human readable string. Call pa_xfree() on the result. \since |