summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-05enforce unique values for node keys starting with "+"uniqueWim Taymans2-3/+47
2020-08-05stream: set the right NODE_NAMEWim Taymans2-2/+2
2020-08-05use global_update_keysWim Taymans9-72/+32
First set the properties in the object itself and then copy them over to the global. This ensure that the global properties are also in the object and makes code a bit cleaner. It also make it possible to use the global id to make the property values unique, if we want to later .
2020-08-05global: add method to update global keysWim Taymans2-0/+14
2020-08-05jack: Use out node name from the serverWim Taymans1-5/+19
Get the node name from the global info when we see it. Check if the name changed and set the right result flag for the app.
2020-08-05properties: use the _for_each iteratorWim Taymans1-3/+3
2020-08-04pulse: handle NULL pw_streamWim Taymans1-1/+2
The pipewire stream might have been destroyed when the pulse stream is freed.
2020-08-04pulse: always load the registryWim Taymans3-105/+7
Always get the registry, even if we're not using the introspect API we still need it to keep track of the linked devices.
2020-08-04pulse: handle device_name of NULL as errorWim Taymans1-4/+2
2020-08-04stream: let the operation emit the TERMINATED stateWim Taymans1-2/+1
When we disconnect, let the operation emit the TERMINATED state because some apps expect this state to be emited asynchronously. Makes GStreamer pulsesink work. Fixes #210
2020-08-04pulse: handle memory user_data of NULLWim Taymans1-1/+2
2020-08-04pulse: improve debugWim Taymans1-8/+8
2020-08-04pulse: actually remember the default sourceWim Taymans2-3/+3
2020-08-040.3.9Wim Taymans2-1/+39
2020-08-04link: don't connect to port destroy signalWim Taymans1-50/+13
Now that _port_destroy will first destroy all the links, there is no need to listen for the destroy signal anymore in the link.
2020-08-04alsa: use PIPEWIRE_REMOTE env variableWim Taymans2-0/+11
2020-08-04media-session: remove listenerWim Taymans1-0/+1
2020-08-04acp: fix size of arrayWim Taymans1-1/+1
2020-08-03stream: clear user data on flushWim Taymans1-3/+22
Or else we might add the memory to the free list again when we free the buffers. Fixes audacity using the pulseaudio backend in portaudio.
2020-08-03alsa: improve configuration of NICKWim Taymans1-7/+24
2020-08-03acp: pass all properties when creating a cardWim Taymans1-5/+6
They might contain other info like prefered card name etc.
2020-08-03jack: prefer nick for node nameWim Taymans1-2/+2
The nick is shorter and nicer for jack applications. We have the full description in the port alias 2.
2020-08-03client-device: first set implementation, then registerWim Taymans1-1/+1
Setting the implementation updates the properties so that we have more info when creating the global.
2020-08-03acp: use some existing keys and add some new onesWim Taymans2-5/+7
2020-08-03alsa: add profile description in node descriptionWim Taymans1-2/+6
2020-08-03alsa-util: fix check for digitWim Taymans1-1/+1
Fix the check for a digit by checking if the value is between the *character* '0' (not *value* 0) and '9'.
2020-08-03stream: fix printf modifierWim Taymans1-1/+1
2020-08-03Makefile: set mixer and profile pathsWim Taymans1-0/+2
2020-08-02uninstalled: add some comments to variablesWim Taymans1-0/+4
2020-08-02docs: some small fixes and updatesWim Taymans2-6/+13
2020-08-02Workaround subtle problem with FreeBSD CI.Gleb Popov1-1/+1
2020-08-02don't use qsort_r, it's not implemented everywhereWim Taymans1-3/+3
Fixes #260
2020-07-31pulse: remove metadata storeWim Taymans5-148/+24
We don't actually need to store all the metadata, we just need to track the default sink and source property and store the value.
2020-07-31media-session: add some debug for enum-paramWim Taymans1-0/+2
2020-07-31device: pass original seq in async replyWim Taymans2-2/+4
When we get an async reply from the implementer, use the original seq from the caller in the reply. Fixes !287
2020-07-31media-session: improve param enumerationWim Taymans2-37/+31
Don't use subscribe, enum is more manageable. Use user data field to check for changes. Only enumerate readable params. Enum all node params.
2020-07-31pulse: improve param enumerationWim Taymans1-16/+29
Use user data field in param to check for changes and only perform a clear+enum when it changed.
2020-07-31pulse: refactor param enumerationWim Taymans2-19/+27
2020-07-31bluez5: include profile classes when doing enum profileJulian Bouzas1-6/+33
2020-07-31protocol: add a few more options for XDG_RUNTIME_DIRWim Taymans4-24/+98
PIPEWIRE_CORE can be used to specify a server name. PIPEWIRE_REMOTE can be used to specify what server name to connect to. Either use the absolute path of the name to create and connect to a server, or use a relative path. For a relative path, the server name will be completed by prefixing the following paths in order: PIPEWIRE_RUNTIME_DIR environment variable, XDG_RUNTIME_DIR environment variable, HOME environment variable, USERPROFILE environment variable, home directory as stored in the password database. Fixes #259
2020-07-31gst: support VideoCrop metaWim Taymans4-6/+42
Convert the VideoCrop metadata to GStreamer metadata.
2020-07-31examples: add support for YUV dataWim Taymans1-30/+54
2020-07-30pulse: also use PIPEWIRE_LATENCY as a fallbackWim Taymans1-2/+15
2020-07-30impl-node: update driver stats as wellWim Taymans1-4/+12
If we have an underrun but are managed by another driver, also update the driver stats.
2020-07-30pulse: use the right sample specWim Taymans1-1/+1
2020-07-30permission: add M permissionWim Taymans3-5/+9
The M permission is needed to set metadata on an object.
2020-07-30permission: add some helpersWim Taymans23-61/+58
Add PW_PERM_ALL as a shortcut for all permissions Add PW_PERMISSION_FORMAT and PW_PERMISSION_ARGS to nicely format permissions.
2020-07-30pulse: check that we have access to change metadataWim Taymans2-8/+14
2020-07-30metadata: only allow setting metadata on objects we can seeWim Taymans1-2/+23
Allow a client to only set metadata on objects that it has read access to.
2020-07-30client: add function to check permissions of a clientWim Taymans2-0/+21