mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
update props
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2492 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
8431fb17c2
commit
c98516bd09
1 changed files with 20 additions and 11 deletions
|
|
@ -40,16 +40,21 @@ PA_C_DECL_BEGIN
|
||||||
* media.icon_name
|
* media.icon_name
|
||||||
* media.role video, music, game, event, phone, production, filter, abstract, stream
|
* media.role video, music, game, event, phone, production, filter, abstract, stream
|
||||||
* event.id button-click, session-login
|
* event.id button-click, session-login
|
||||||
* event.x11.display
|
* event.mouse.x_pointer
|
||||||
* event.x11.xid
|
* event.mouse.y_pointer
|
||||||
* event.x11.x_pointer
|
* event.mouse.button
|
||||||
* event.x11.y_pointer
|
* window.name
|
||||||
* event.x11.button
|
* window.id
|
||||||
|
* window.icon
|
||||||
|
* window.icon_name
|
||||||
|
* window.x11.display
|
||||||
|
* window.x11.xid
|
||||||
* application.name "Rhythmbox Media Player"
|
* application.name "Rhythmbox Media Player"
|
||||||
* application.id "org.gnome.rhythmbox"
|
* application.id "org.gnome.rhythmbox"
|
||||||
* application.version
|
* application.version
|
||||||
* application.icon
|
* application.icon
|
||||||
* application.icon_name
|
* application.icon_name
|
||||||
|
* application.language
|
||||||
* application.process.id
|
* application.process.id
|
||||||
* application.process.binary
|
* application.process.binary
|
||||||
* application.process.user
|
* application.process.user
|
||||||
|
|
@ -67,7 +72,6 @@ PA_C_DECL_BEGIN
|
||||||
* device.master_device
|
* device.master_device
|
||||||
* device.buffer_size
|
* device.buffer_size
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PA_PROP_MEDIA_NAME "media.name"
|
#define PA_PROP_MEDIA_NAME "media.name"
|
||||||
#define PA_PROP_MEDIA_TITLE "media.title"
|
#define PA_PROP_MEDIA_TITLE "media.title"
|
||||||
#define PA_PROP_MEDIA_ARTIST "media.artist"
|
#define PA_PROP_MEDIA_ARTIST "media.artist"
|
||||||
|
|
@ -77,11 +81,15 @@ PA_C_DECL_BEGIN
|
||||||
#define PA_PROP_MEDIA_ICON_NAME "media.icon_name"
|
#define PA_PROP_MEDIA_ICON_NAME "media.icon_name"
|
||||||
#define PA_PROP_MEDIA_ROLE "media.role"
|
#define PA_PROP_MEDIA_ROLE "media.role"
|
||||||
#define PA_PROP_EVENT_ID "event.id"
|
#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_X "event.mouse.x"
|
||||||
#define PA_PROP_EVENT_MOUSE_Y "event.mouse.y"
|
#define PA_PROP_EVENT_MOUSE_Y "event.mouse.y"
|
||||||
#define PA_PROP_EVENT_MOUSE_BUTTON "event.mouse.button"
|
#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_XID "window.x11.xid"
|
||||||
#define PA_PROP_APPLICATION_NAME "application.name"
|
#define PA_PROP_APPLICATION_NAME "application.name"
|
||||||
#define PA_PROP_APPLICATION_ID "application.id"
|
#define PA_PROP_APPLICATION_ID "application.id"
|
||||||
#define PA_PROP_APPLICATION_VERSION "application.version"
|
#define PA_PROP_APPLICATION_VERSION "application.version"
|
||||||
|
|
@ -174,9 +182,10 @@ int pa_proplist_unset_many(pa_proplist *p, const char * const keys[]);
|
||||||
* to this variable should then be passed to pa_proplist_iterate()
|
* to this variable should then be passed to pa_proplist_iterate()
|
||||||
* which should be called in a loop until it returns NULL which
|
* which should be called in a loop until it returns NULL which
|
||||||
* signifies EOL. The property list should not be modified during
|
* signifies EOL. The property list should not be modified during
|
||||||
* iteration through the list. On each invication this function will
|
* iteration through the list -- except for deleting the current
|
||||||
* return the key string for the next entry. The keys in the property
|
* looked at entry. On each invication this function will return the
|
||||||
* list do not have any particular order. \since 0.9.11 */
|
* 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);
|
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
|
/** Format the property list nicely as a human readable string. Call pa_xfree() on the result. \since
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue