summaryrefslogtreecommitdiff
path: root/src/examples/bluez-monitor.c
AgeCommit message (Collapse)AuthorFilesLines
2019-09-30media-session: add device reservation for alsaWim Taymans1-364/+0
Implement the device reservation DBus API. When we acquire the device name, set our device profile to 'On'. This adds our sources and sinks to the graph. When we lose the name, switch back to 'Off' and remove our nodes again. Move the session mamager stuff in a directory. Fixes #191
2019-09-27examples: copy properties for pw_remote_export()Wim Taymans1-1/+1
pw_remote_export() takes ownership of the properties so make a copy of the ones we still want to hold on to.
2019-09-26bluez-monitor: fix usage of pw_properties_setf without a format stringGeorge Kiagiadakis1-1/+1
Otherwise compilation will fail with certain -Wformat-security flags Add the flag to the warnings.
2019-09-20monitor: remove monitor API and use deviceWim Taymans1-14/+14
Remove the monitor API, we can use the device API for it. Make sure we support creating devices (like alsa) from another device (udev). Use new object.id to store the object id in the object properties. Use the port.id/node.id etc to make relations to other objects.
2019-08-12channelmix: implement per channel volumeWim Taymans1-4/+7
Implement per channel volume on channelmix. Extend control on stream to take an array of values when possible. Remove name argument from pw_node_new and pw_device_new. We can pass this as a property instead. Improve properties on nodes to more closely match what pulseaudio does. Don't let the monitor do too much with the udev properties but let the session manager set the description and icon-names. Remove some change_mask flags for things that don't change in introspect. Use the flags to mark changes in -cli and -monitor.
2019-07-31bluez: clean up nodesWim Taymans1-3/+11
2019-07-31monitor: unload spa handle instead of free()Wim Taymans1-1/+1
2019-07-12media-session: create a local adaper+a2dp sink/sourceWim Taymans1-11/+21
Run the a2dp sink and sources with the adapter in the session manager and export it to PipeWire. The idea is that the codecs should not preferably not run inside the daemon.
2019-07-10session: handle monitor in the sessionWim Taymans1-0/+343
Load the monitor in the session manager. Export devices to pipewire. Create nodes or a device in an adapter.