Commit graph

13439 commits

Author SHA1 Message Date
Thibault Saunier
0b2eec9f16 Set GStreamer plugins path in uninstalled env 2018-10-31 07:46:36 +00:00
Thibault Saunier
795b352cba meson: Use feature for GStreamer and make it auto
Bumping version dependency of meson

Fix minor new warning in meson
2018-10-31 07:46:36 +00:00
Wim Taymans
df4a5efb89 client-node: don't try to modify the clock
The clock position should match the buffer timestamps and we should
not try to change it. If a client wants to align stream it will
have to do this itself.
2018-10-30 16:32:25 +00:00
Wim Taymans
ee72023629 media-session: try to connect to the node directly
If we can't find a session for the target node, try to connect to the
node directly if it exists.
2018-10-30 16:30:16 +00:00
Wim Taymans
093c675995 a2dp: don't faile set_io 2018-10-30 16:29:39 +00:00
Wim Taymans
e1583146ff video-src: Add alternative style format pod example 2018-10-30 15:34:54 +00:00
Wim Taymans
ed2f054e76 volume: fix for old api 2018-10-30 09:50:44 +00:00
Wim Taymans
ef7a111611 fmt: fix and enable f32 -> s16 conversion 2018-10-30 08:37:07 +00:00
Wim Taymans
4432db4fa7 fmt-ops: fix conversion 2018-10-29 18:38:14 +00:00
Wim Taymans
57d9f597d9 jack: update submodule 2018-10-29 14:30:44 +00:00
Wim Taymans
73888460cb jack: convert sequence to midi events 2018-10-29 14:29:59 +00:00
Wim Taymans
ae9843aca2 disable s16 sse until fixed 2018-10-29 14:07:19 +00:00
Mathieu Duponchelle
8693e416bc examples: document how to run 2018-10-29 13:26:46 +00:00
Thibault Saunier
68c2866f7d Fix build when systemd is found but not libsystemd
Getting the following otherwise:

```
[13/28] Compiling C object 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o'.
FAILED: src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o
ccache cc -Isrc/modules/src@modules@@pipewire-module-protocol-native@sha -Isrc/modules -I../src/modules -I. -I../ -Ispa/include -I../spa/include -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -fPIC -pthread -DHAVE_CONFIG_H -D_GNU_SOURCE  -MD -MQ 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o' -MF 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o.d' -o 'src/modules/src@modules@@pipewire-module-protocol-native@sha/module-protocol-native.c.o' -c ../src/modules/module-protocol-native.c
../src/modules/module-protocol-native.c:36:10: fatal error: systemd/sd-daemon.h: No such file or directory
 #include <systemd/sd-daemon.h>
          ^~~~~~~~~~~~~~~~~~~~~
```
2018-10-29 13:26:17 +00:00
Wim Taymans
9f61ef96ff fmt-ops: add f32 -> s16 see optimisations 2018-10-29 09:21:33 +00:00
Wim Taymans
83517e22ac media-session: set permissions on restricted access clients 2018-10-29 08:47:45 +00:00
Wim Taymans
9364253886 module-access: use check_access signal
Add restricted, blacklisted and flatpak access types.
2018-10-29 08:46:09 +00:00
Wim Taymans
1c450ce2c1 client: add check_access signal
Fire the check access signal right after creating a client to make it
possible to set permissions.
2018-10-29 08:44:56 +00:00
Wim Taymans
dfde479b20 protocol-native: put client properties in global 2018-10-29 08:43:53 +00:00
Wim Taymans
161ad70114 init and update submodules 2018-10-28 10:41:42 +00:00
Wim Taymans
68cab0a8f0 update url 2018-10-28 10:34:08 +00:00
Wim Taymans
5088bcce60 module-access: make new access module
Rename the flatpak module to access module. The access module should
either let the client connect or mask the client busy while the
permissions are being configured. It is then up to the session manager
to collect the right permissions of the objects and configure those
in the client.

Let the media session monitor the clients and configure the permissions.
2018-10-27 17:33:21 +01:00
Wim Taymans
e026f55c97 protocol: add more methods on client
Add method to get and set permissions on a client
Add method to send error to client.
2018-10-27 17:31:03 +01:00
Wim Taymans
bbf718cc98 global: add revoke and grant methods
Add methods to grant or revoke access to a global for a client.
2018-10-27 17:26:17 +01:00
Wim Taymans
bd9b74f2d8 global: add list of resources in the global
Remove the list of resources from objects to the global
2018-10-27 17:24:15 +01:00
Wim Taymans
2accfc84d7 Add version to hello 2018-10-27 17:19:50 +01:00
Wim Taymans
537598726b protocol-native: first bind, then register
First let the client bind to the core, then register the client.
This way, the client is ready to receive methods on the core.
2018-10-27 17:10:01 +01:00
Wim Taymans
58c6d76328 pod: also handle choice in compare 2018-10-27 10:43:09 +01:00
Wim Taymans
9a969ac756 v4l2: we set clock and position on the node now 2018-10-27 10:11:27 +01:00
Wim Taymans
a4ff7296b2 remote: don't try to update the source when it's gone 2018-10-24 15:45:03 +02:00
Wim Taymans
f5c78cc2a2 remote: use right io_position enum 2018-10-24 15:44:39 +02:00
Wim Taymans
06fe3af7fb update submodules 2018-10-24 10:35:41 +02:00
Wim Taymans
1ffee101fb jack: use spa_io_position 2018-10-24 10:34:49 +02:00
Wim Taymans
723d4d9db7 client-node: use spa_io_position
Remove old internal structure
2018-10-24 10:34:28 +02:00
Wim Taymans
2206deb3e8 alsa: implement set_io and handle position io
Use position io for deciding the size of the output buffers in
alsasrc
2018-10-24 10:27:57 +02:00
Wim Taymans
4aab226047 io: add size of current cycle to position 2018-10-24 10:27:06 +02:00
Wim Taymans
0395897856 node: only run the graph when we are the selected driver
Update submodules
2018-10-23 16:52:28 +02:00
Wim Taymans
98992d88d3 jack: add jack_port_rename 2018-10-23 16:50:59 +02:00
Wim Taymans
2a1328533f stream: use pw_stream_update_properties 2018-10-23 16:50:17 +02:00
Wim Taymans
34db9be04b io: add io areas for position information 2018-10-23 16:14:17 +02:00
Wim Taymans
66de372e9a add node set_io function
Also allow setting io areas on nodes. We need this to set the
graph clock and period size on the nodes.
2018-10-23 12:31:41 +02:00
Wim Taymans
a121164df9 stream: handle update_properties before connect 2018-10-22 16:11:57 +02:00
Wim Taymans
d2570142fa resample: don't output 0 buffers 2018-10-22 11:32:53 +02:00
Wim Taymans
8b2781b494 submodule update 2018-10-19 17:15:56 +02:00
Wim Taymans
a14e16806f mainloop-glib: destroy the source 2018-10-19 17:15:19 +02:00
Wim Taymans
926392a701 update pulseaudio 2018-10-19 17:06:33 +02:00
Wim Taymans
e4c94bf12d proplist: fix compilation 2018-10-19 17:00:25 +02:00
Wim Taymans
01aa9a5960 introspect: implement enough to make gnome-control-center work
We can see sources and sink and change the volume/mute of streams
2018-10-19 16:57:03 +02:00
Wim Taymans
faccc8d506 implement more methods
Implement extensions with dummies
Implement some more introspection, enough to make pavucontrol start
Implement volume changes on sink_input
2018-10-19 13:30:20 +02:00
Wim Taymans
5498d9c726 glib-mainloop: implement glib mainloop support 2018-10-19 13:27:58 +02:00