Expand description
Property list constants and functions.
Structs§
- pa_
proplist - A property list object. Basically a dictionary with ASCII strings as keys and arbitrary data as values.
Enums§
- pa_
update_ mode_ t - Update mode.
Constants§
- PA_
PROP_ APPLICATION_ ICON - For clients/streams: application icon. A binary blob containing PNG image data.
- PA_
PROP_ APPLICATION_ ICON_ NAME - For clients/streams: an XDG icon name for the application. E.g. “totem”.
- PA_
PROP_ APPLICATION_ ID - For clients/streams: a textual id for identifying an application logically. E.g. “org.gnome.Totem”.
- PA_
PROP_ APPLICATION_ LANGUAGE - For clients/streams: application language if applicable, in standard POSIX format. E.g. “de_DE”.
- PA_
PROP_ APPLICATION_ NAME - For clients/streams: localized human readable application name. E.g. “Totem Music Player”.
- PA_
PROP_ APPLICATION_ PROCESS_ BINARY - For clients/streams: application process name. E.g. “totem”.
- PA_
PROP_ APPLICATION_ PROCESS_ HOST - For clients/streams: host name the application runs on. E.g. “omega”.
- PA_
PROP_ APPLICATION_ PROCESS_ ID - For clients/streams on UNIX: application process PID, an integer formatted as string. E.g. “4711”.
- PA_
PROP_ APPLICATION_ PROCESS_ MACHINE_ ID - For clients/streams: the D-Bus host id the application runs on. E.g. “543679e7b01393ed3e3e650047d78f6e”.
- PA_
PROP_ APPLICATION_ PROCESS_ SESSION_ ID - For clients/streams: an id for the login session the application runs in. On Unix the value of $XDG_SESSION_ID. E.g. “5”.
- PA_
PROP_ APPLICATION_ PROCESS_ USER - For clients/streams: application user name. E.g. “lennart”.
- PA_
PROP_ APPLICATION_ VERSION - For clients/streams: a version string, e.g. “0.6.88”.
- PA_
PROP_ BLUETOOTH_ CODEC pa_v15 - For a bluez device: the currently selected codec name.
- PA_
PROP_ CONTEXT_ FORCE_ DISABLE_ SHM pa_v15 - For context: whether to forcefully disable data transfer via POSIX or memfd shared memory. This property overrides any other client configuration which would otherwise enable SHM communication channels.
- PA_
PROP_ DEVICE_ ACCESS_ MODE - For devices: access mode of the device if applicable. One of “mmap”, “mmap_rewrite”, “serial”.
- PA_
PROP_ DEVICE_ API - For devices: API this device is accessed with. E.g. “alsa”.
- PA_
PROP_ DEVICE_ BUFFERING_ BUFFER_ SIZE - For devices: buffer size in bytes, integer formatted as string.
- PA_
PROP_ DEVICE_ BUFFERING_ FRAGMENT_ SIZE - For devices: fragment size in bytes, integer formatted as string.
- PA_
PROP_ DEVICE_ BUS - For devices: bus of the device if applicable. One of “isa”, “pci”, “usb”, “firewire”, “bluetooth”.
- PA_
PROP_ DEVICE_ BUS_ PATH - For devices: bus path to the device in the OS’ format. E.g. “/sys/bus/pci/devices/0000:00:1f.2”.
- PA_
PROP_ DEVICE_ CLASS - For devices: device class. One of “sound”, “modem”, “monitor”, “filter”.
- PA_
PROP_ DEVICE_ DESCRIPTION - For devices: localized human readable device one-line description. E.g. “Foobar Industries USB Headset 2000+ Ultra”.
- PA_
PROP_ DEVICE_ FORM_ FACTOR - For devices: form factor if applicable. One of “internal”, “speaker”, “handset”, “tv”, “webcam”, “microphone”, “headset”, “headphone”, “hands-free”, “car”, “hifi”, “computer”, “portable”.
- PA_
PROP_ DEVICE_ ICON - For devices: icon for the device. A binary blob containing PNG image data.
- PA_
PROP_ DEVICE_ ICON_ NAME - For devices: an XDG icon name for the device. E.g. “sound-card-speakers-usb”.
- PA_
PROP_ DEVICE_ INTENDED_ ROLES - For devices: intended use. A space separated list of roles (see PA_PROP_MEDIA_ROLE) this device is particularly well suited for, due to latency, quality or form factor.
- PA_
PROP_ DEVICE_ MASTER_ DEVICE - For filter devices: master device id if applicable.
- PA_
PROP_ DEVICE_ PRODUCT_ ID - For devices: product ID if applicable. E.g. 4565.
- PA_
PROP_ DEVICE_ PRODUCT_ NAME - For devices: product name if applicable. E.g. “SuperSpeakers 2000 Pro”.
- PA_
PROP_ DEVICE_ PROFILE_ DESCRIPTION - For devices: human readable one-line description of the profile this device is in. E.g. “Analog Stereo”, …
- PA_
PROP_ DEVICE_ PROFILE_ NAME - For devices: profile identifier for the profile this devices is in. E.g. “analog-stereo”, “analog-surround-40”, “iec958-stereo”, …
- PA_
PROP_ DEVICE_ SERIAL - For devices: serial number if applicable. E.g. “4711-0815-1234”.
- PA_
PROP_ DEVICE_ STRING - For devices: device string in the underlying audio layer’s format. E.g. “surround51:0”.
- PA_
PROP_ DEVICE_ VENDOR_ ID - For devices: vendor ID if applicable. E.g. 1274.
- PA_
PROP_ DEVICE_ VENDOR_ NAME - For devices: vendor name if applicable. E.g. “Foocorp Heavy Industries”.
- PA_
PROP_ EVENT_ DESCRIPTION - For event sound streams: localized human readable one-line description of the event, formatted as UTF-8. E.g. “Email from lennart@example.com received.”
- PA_
PROP_ EVENT_ ID - For event sound streams: XDG event sound name. e.g. “message-new-email” (Event sound streams are those with media.role set to “event”).
- PA_
PROP_ EVENT_ MOUSE_ BUTTON - For event sound streams: mouse button that triggered the event if applicable, integer formatted as string with 0=left, 1=middle, 2=right. E.g. “0”.
- PA_
PROP_ EVENT_ MOUSE_ HPOS - For event sound streams: relative horizontal mouse position on the screen if the event sound was triggered by a mouse click, float formatted as text string, ranging from 0.0 (left side of the screen) to 1.0 (right side of the screen). E.g. “0.65”.
- PA_
PROP_ EVENT_ MOUSE_ VPOS - For event sound streams: relative vertical mouse position on the screen if the event sound was triggered by a mouse click, float formatted as text string, ranging from 0.0 (top of the screen) to 1.0 (bottom of the screen). E.g. “0.43”.
- PA_
PROP_ EVENT_ MOUSE_ X - For event sound streams: absolute horizontal mouse position on the screen if the event sound was triggered by a mouse click, integer formatted as text string. E.g. “865”.
- PA_
PROP_ EVENT_ MOUSE_ Y - For event sound streams: absolute vertical mouse position on the screen if the event sound was triggered by a mouse click, integer formatted as text string. E.g. “432”.
- PA_
PROP_ FILTER_ APPLY - For streams: the name of a filter that is desired, e.g. “echo-cancel” or “equalizer-sink”. Differs from PA_PROP_FILTER_WANT in that it forces PulseAudio to apply the filter, regardless of whether PulseAudio thinks it makes sense to do so or not. If this is set, PA_PROP_FILTER_WANT is ignored. In other words, you almost certainly do not want to use this.
- PA_
PROP_ FILTER_ SUPPRESS - For streams: the name of a filter that should specifically be suppressed (i.e. overrides PA_PROP_FILTER_WANT). Useful for the times that PA_PROP_FILTER_WANT is automatically added (e.g. echo-cancellation for phone streams when $VOIP_APP does its own, internal AEC).
- PA_
PROP_ FILTER_ WANT - For streams: the name of a filter that is desired, e.g. “echo-cancel” or “equalizer-sink”. PulseAudio may choose to not apply the filter if it does not make sense (for example, applying echo-cancellation on a Bluetooth headset probably does not make sense.
- PA_
PROP_ FORMAT_ CHANNELS - For all formats: the number of channels (unsigned integer).
- PA_
PROP_ FORMAT_ CHANNEL_ MAP - For PCM formats: the channel map of the stream as returned by
pa_channel_map_snprint. - PA_
PROP_ FORMAT_ RATE - For all formats: the sample rate (unsigned integer).
- PA_
PROP_ FORMAT_ SAMPLE_ FORMAT - For PCM formats: the sample format used as returned by
pa_sample_format_to_string. - PA_
PROP_ MEDIA_ ARTIST - For streams: localized media artist if applicable, formatted as UTF-8. E.g. “Guns’N’Roses”.
- PA_
PROP_ MEDIA_ COPYRIGHT - For streams: localized media copyright string if applicable, formatted as UTF-8. E.g. “Evil Record Corp.”.
- PA_
PROP_ MEDIA_ FILENAME - For streams: source filename if applicable, in URI format or local path. E.g. “/home/lennart/music/foobar.ogg”.
- PA_
PROP_ MEDIA_ ICON - For streams: icon for the media. A binary blob containing PNG image data.
- PA_
PROP_ MEDIA_ ICON_ NAME - For streams: an XDG icon name for the media. E.g. “audio-x-mp3”.
- PA_
PROP_ MEDIA_ LANGUAGE - For streams: media language if applicable, in standard POSIX format. E.g. “de_DE”.
- PA_
PROP_ MEDIA_ NAME - For streams: localized media name, formatted as UTF-8. E.g. “Guns’N’Roses: Civil War”.
- PA_
PROP_ MEDIA_ ROLE - For streams: logic role of this media. One of the strings “video”, “music”, “game”, “event”, “phone”, “animation”, “production”, “a11y”, “test”.
- PA_
PROP_ MEDIA_ SOFTWARE - For streams: localized media generator software string if applicable, formatted as UTF-8. E.g. “Foocrop AudioFrobnicator”.
- PA_
PROP_ MEDIA_ TITLE - For streams: localized media title if applicable, formatted as UTF-8. E.g. “Civil War”.
- PA_
PROP_ MODULE_ AUTHOR - For modules: the author’s name, formatted as UTF-8 string. E.g. “Lennart Poettering”.
- PA_
PROP_ MODULE_ DESCRIPTION - For modules: a human readable one-line description of the module’s purpose formatted as UTF-8. E.g. “Frobnicate sounds with a flux compensator”.
- PA_
PROP_ MODULE_ USAGE - For modules: a human readable usage description of the module’s arguments formatted as UTF-8.
- PA_
PROP_ MODULE_ VERSION - For modules: a version string for the module. E.g. “0.9.15”.
- PA_
PROP_ WINDOW_ DESKTOP - For streams that belong to a window on the screen: if the windowing system supports multiple desktops, a comma separated list of indexes of the desktops this window is visible on. If this property is an empty string, it is visible on all desktops (i.e. ‘sticky’). The first desktop is zero. E.g. “0,2,3”.
- PA_
PROP_ WINDOW_ HEIGHT - For streams that belong to a window on the screen: window height on the screen, integer formatted as text string. E.g. “643”.
- PA_
PROP_ WINDOW_ HPOS - For streams that belong to a window on the screen: relative position of the window center on the screen, float formatted as text string, ranging from 0.0 (left side of the screen) to 1.0 (right side of the screen). E.g. “0.65”.
- PA_
PROP_ WINDOW_ ICON - For streams that belong to a window on the screen: window icon. A binary blob containing PNG image data.
- PA_
PROP_ WINDOW_ ICON_ NAME - For streams that belong to a window on the screen: an XDG icon name for the window. E.g. “totem”.
- PA_
PROP_ WINDOW_ ID - For streams that belong to a window on the screen: a textual id for identifying a window logically. E.g. “org.gnome.Totem.MainWindow”.
- PA_
PROP_ WINDOW_ NAME - For streams that belong to a window on the screen: localized window title. E.g. “Totem Music Player”.
- PA_
PROP_ WINDOW_ VPOS - For streams that belong to a window on the screen: relative position of the window center on the screen, float formatted as text string, ranging from 0.0 (top of the screen) to 1.0 (bottom of the screen). E.g. “0.43”.
- PA_
PROP_ WINDOW_ WIDTH - For streams that belong to a window on the screen: window width on the screen, integer formatted as text string. e.g. “365”.
- PA_
PROP_ WINDOW_ X - For streams that belong to a window on the screen: absolute horizontal window position on the screen, integer formatted as text string. E.g. “865”.
- PA_
PROP_ WINDOW_ X11_ DISPLAY - For streams that belong to an X11 window on the screen: the X11 display string. E.g. “:0.0”.
- PA_
PROP_ WINDOW_ X11_ MONITOR - For streams that belong to an X11 window on the screen: the X11 monitor the window is on, an integer formatted as string. E.g. “0”.
- PA_
PROP_ WINDOW_ X11_ SCREEN - For streams that belong to an X11 window on the screen: the X11 screen the window is on, an integer formatted as string. E.g. “0”.
- PA_
PROP_ WINDOW_ X11_ XID - For streams that belong to an X11 window on the screen: the window XID, an integer formatted as string. E.g. “25632”.
- PA_
PROP_ WINDOW_ Y - For streams that belong to a window on the screen: absolute vertical window position on the screen, integer formatted as text string. E.g. “343”.
- PA_
UPDATE_ MERGE - PA_
UPDATE_ REPLACE - PA_
UPDATE_ SET
Functions§
- pa_
proplist_ ⚠clear - pa_
proplist_ ⚠contains - pa_
proplist_ ⚠copy - pa_
proplist_ ⚠equal - pa_
proplist_ ⚠free - pa_
proplist_ ⚠from_ string - pa_
proplist_ ⚠get - pa_
proplist_ ⚠gets - pa_
proplist_ ⚠isempty - pa_
proplist_ ⚠iterate - pa_
proplist_ ⚠key_ valid - pa_
proplist_ ⚠new - pa_
proplist_ ⚠set - pa_
proplist_ ⚠setf - pa_
proplist_ ⚠setp - pa_
proplist_ ⚠sets - pa_
proplist_ ⚠size - pa_
proplist_ ⚠to_ string - pa_
proplist_ ⚠to_ string_ sep - pa_
proplist_ ⚠unset - pa_
proplist_ ⚠unset_ many - pa_
proplist_ ⚠update