Commit graph

3789 commits

Author SHA1 Message Date
Wim Taymans
2b88dde567 fmtconvert: add conversions for planar to planar 2018-11-07 11:56:19 +01:00
Wim Taymans
00a570f7de audio-format: set unpossisioned flag
If we don't have position information in the format, set the
unpositioned flag. Don't set position info in the format when the
unpositioned flag is set.
2018-11-07 11:54:23 +01:00
Wim Taymans
aade499aae fix TIMESPEC_TO_NSEC 2018-11-07 10:07:48 +01:00
Wim Taymans
8d9aae061b submodules 2018-11-07 09:59:11 +01:00
Wim Taymans
2dd6307050 jack: add some timing functions 2018-11-07 09:58:20 +01:00
Wim Taymans
88a786fdad stream: use TIMESPEC_TO_USEC 2018-11-07 09:57:22 +01:00
Wim Taymans
088ee9f09e Improve TIMESPEC_TO_TIME
Add explicit TO_NSEC and TO_USEC versions to make it clearer and to
allow for some optimizations.
2018-11-07 09:56:24 +01:00
Wim Taymans
bf6843743a export-sink: implement set_io 2018-11-06 15:21:53 +01:00
Wim Taymans
6f918561c9 flatpak: also check for client property changes
If a client changes the "pipewire.access" property to "flatpak",
start handling the client as a flatpak client and do portal
checks. This is useful when the portal makes a connection for the
client and needs to for portal checks.
2018-11-06 13:28:36 +01:00
Wim Taymans
1f5fec5983 improve update_properties
Make _update_properties return the number of changed properties and
only emit info when something changed.
2018-11-06 12:35:59 +01:00
Wim Taymans
d5c894cfd8 properties: don't add NULL values
NULL values should remove the key.
2018-11-06 12:21:44 +01:00
Wim Taymans
85f2e93c54 Relicense as MIT/X11
Remove some obsolete files
2018-11-05 17:48:52 +01:00
Wim Taymans
e107d75248 protocol-native: improve permission checks 2018-11-05 15:27:13 +01:00
Wim Taymans
eb0a561f8c permissions: pass pw_permission struct around
Use a pw_permission struct to express permissions of object.
Improve client permissions, add/remove globals when permissions
are changed.
2018-11-05 15:02:08 +01:00
Wim Taymans
f994b7eb70 protocol-native: only add fd if client active 2018-11-05 14:58:13 +01:00
Wim Taymans
9088b2f0d9 splitter: fix compilation 2018-11-02 17:51:30 +01:00
Wim Taymans
7b6df9e127 audioconvert: don't clear profile when format is cleared 2018-11-02 17:19:15 +01:00
Wim Taymans
4733bd32c8 update submodules 2018-11-02 12:32:36 +01:00
Wim Taymans
a70b02064c stream: fix for target_id 2018-11-02 12:31:43 +01:00
Wim Taymans
d7376b7304 alsa: fix for target_id 2018-11-02 12:31:08 +01:00
Wim Taymans
b87397025e pod: handle unknown types without crashing 2018-11-02 12:12:34 +01:00
Wim Taymans
b905b70a76 stream: pass target id as uint32_t 2018-11-02 11:52:39 +01:00
Wim Taymans
8089d856c8 protocol: add more debug and check right permissions 2018-10-31 16:31:15 +00:00
Wim Taymans
7e8fac2272 type: restore type info for pipewire types 2018-10-31 16:05:58 +00:00
Wim Taymans
6bb90ed88e alsa: refactor get_status 2018-10-31 15:21:23 +00:00
George Kiagiadakis
9236be5f7a ci: implement a sensible travis + docker setup for automated builds
The Dockerfile was rewritten and moved to a separete repository
for doing automated builds on docker hub
-> https://github.com/gkiagia/pipewire_build_environment
2018-10-31 15:13:13 +00:00
Wim Taymans
95c1b7d0a3 remote: add exported signal
Add a signal to notify when a proxy id has been expored. Use this in the
stream to signal the configure state.
2018-10-31 14:31:49 +00:00
Wim Taymans
f8b93d2a1b stream: only activate when asked 2018-10-31 14:31:20 +00:00
Wim Taymans
db56f1c9f6 pulse: update submodule 2018-10-31 11:10:27 +00:00
Wim Taymans
0bc6ba8559 node: allow for setting driver root
The driver root is the graph that should be run when a remote driver
starts the graph and can be different from the node itself when it's
part of a subgraph like in client-stream.
2018-10-31 10:57:26 +00:00
Wim Taymans
32afd8d228 video-src: the size is a range 2018-10-31 10:57:26 +00:00
Wim Taymans
0023e348ac Makefile: add uninstall target 2018-10-31 10:57:26 +00:00
George Kiagiadakis
57cd209d2a spa: tests: add automated unit test for spa_ringbuffer 2018-10-31 10:50:36 +00:00
George Kiagiadakis
9724aea17f spa: tests: add automated unit test for spa_hook_list 2018-10-31 10:50:36 +00:00
George Kiagiadakis
ef8b7bc003 spa: tests: add automated unit test for spa_list 2018-10-31 10:50:36 +00:00
George Kiagiadakis
483607af3a Makefile: add 'make test' target to run the automated unit tests 2018-10-31 10:50:36 +00:00
George Kiagiadakis
cef55ea47d spa: tests: add automated unit test for spa_dict 2018-10-31 10:50:36 +00:00
Wim Taymans
10531d99eb fmt: fix conversion 2018-10-31 10:40:06 +00:00
Wim Taymans
63363d09dd fmt: small fix to s16 conversion 2018-10-31 09:38:31 +00:00
Wim Taymans
aeb77e37f7 gst: don't dup, use DONT_CLOSE flag on fd_allocator 2018-10-31 09:36:19 +00:00
Thibault Saunier
c2cb8e46b9 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-31 07:54:59 +00:00
Arun Raghavan
2ff6b22b27 gitignore: Add vim files 2018-10-31 07:54:22 +00:00
Arun Raghavan
94656393fd gitignore: Add build dir and cscope files 2018-10-31 07:54:08 +00:00
Nicolas Dufresne
97eec36f8e makefile: Add helper to run in gdb and valgrind
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2018-10-31 07:49:35 +00:00
Nicolas Dufresne
02e3713cf1 rtkit: Allow disabling with DISABLE_RTKIT
Allow disabling real time thread, this is useful to run inside
valgrind without being killed.

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2018-10-31 07:49:35 +00:00
Jan Grulich
a61f8cf666 Coding style 2018-10-31 07:48:28 +00:00
Jan Grulich
a813afd810 Fix build with c++ compilers 2018-10-31 07:48:28 +00:00
Jan Grulich
2aeb5d9d98 Install a missing header
This header is used by param/video/format-utils.h and therefore needed to be installed as well.
2018-10-31 07:47:31 +00:00
Arun Raghavan
10ce1a02cf gitignore: Add vim files 2018-10-31 07:47:02 +00:00
Arun Raghavan
4af917e953 gitignore: Add build dir and cscope files 2018-10-31 07:47:02 +00:00