Commit graph

579 commits

Author SHA1 Message Date
Wim Taymans 83964cec87 pinos -> pipewire 2017-05-23 19:15:33 +02:00
Wim Taymans f12a5ffc80 Remove redundant fields from PortInfo 2017-05-22 18:02:31 +02:00
Wim Taymans d1a6d6e03f param: add more generic port params
Remove port properties and replace them with port params. Move the
params from the PortInfo to enum_params.
Use the Param ranges to specify possible sizes etc.
2017-05-22 13:06:18 +02:00
Wim Taymans 12effccb06 Add fakesrc ! fakesink test
Add fakesrc and fakesink and some performance test
Small cleanups
2017-05-19 12:48:51 +02:00
Wim Taymans 6691eb7845 graph: add graph datastructure and scheduler
Improve event and command init so that it can be used more easily
as compound literals.
Improve volume
Make it possible to use graph scheduler in test-mixer
2017-05-18 17:16:48 +02:00
Wim Taymans 53dd63eb3a type: improve type check 2017-05-17 12:47:33 +02:00
Jonas Ådahl 0855ca0050 spa: Include type-map.h where necesarry
These include files need type declarations in type-map.h. Don't require
includers to know that; just include dependencies directly.
2017-05-17 11:56:38 +02:00
Wim Taymans 845ff79f9f pinossrc: also finish format when clearing the format 2017-05-17 11:55:48 +02:00
Jonas Ådahl 361059ed3c gstpinossrc: Don't crash when format is changed to NULL 2017-05-17 11:54:03 +02:00
Wim Taymans 3c7f1e09fb pinossrc: add always-copy property 2017-05-17 11:49:57 +02:00
Wim Taymans eca852cdd3 link: only pause when no links 2017-05-17 10:10:42 +02:00
Wim Taymans c6f7197f00 format: convert max-framerate 2017-05-17 10:10:27 +02:00
Linus Svensson e27ec1a203 Only use string literals as format
Fixes -Wformat-security error.
2017-05-16 09:31:50 +02:00
David Svensson Fors bc2f53a31c context: stop reading messages when disconnecting 2017-05-16 09:31:50 +02:00
David Svensson Fors 663a3df9af connection: handle refill_buffer() error in get_next() 2017-05-16 09:28:12 +02:00
Linus Svensson 4d3c194491 pinos/client/log.h: Fix compiler error 2017-05-16 09:27:31 +02:00
Linus Svensson 7b7c6df836 spa: Add pc file 2017-05-16 09:26:43 +02:00
Linus Svensson a5c9ba1e5b Install all header files 2017-05-16 09:24:21 +02:00
Linus Svensson 49d635ae68 Follow installed include path for spa headers 2017-05-16 09:20:42 +02:00
Linus Svensson cba22d0e39 spa/plugins/videotestsrc: Draw correctly for all resolutions
Use an incremented variable to support all resolutions. If the width of
the pludge part of the test image was not dividable by three, a
rounding error made the resulting pattern containing noise.
2017-05-16 09:14:36 +02:00
Linus Svensson 740125a12e meson.build: Install conf file under ${sysconfdir}
Base conf file path on sysconfdir. sysconfdir can be specified with an
absolute or relative path. To ensure PINOS_CONFIG_DIR is set correctly,
use join_paths() to prepend prefix when sysconfdir is relative.

Meson added support for sysconfdir in version 0.34.0 and join_paths() in
version 0.36.0.
2017-05-16 09:13:36 +02:00
Linus Svensson 04ffc679fc spa: Include version in libspa-lib.so 2017-05-16 09:12:53 +02:00
Linus Svensson 2011023da7 meson.build: Include API version in module directory 2017-05-16 09:11:03 +02:00
Wim Taymans b80fc0b08e defs: remove invalid direction
Anything not in the enum is invalid
2017-05-16 09:06:37 +02:00
Linus Svensson 1079d433ef meson.build: No need for PLUGINDIR 2017-05-16 09:06:07 +02:00
Wim Taymans 05adcb31e5 v4l2: no range for fixed framerates
Print fixed values correctly
2017-05-12 13:00:33 +02:00
Wim Taymans bf09421240 pinossink: improve sink 2017-05-12 11:00:25 +02:00
Wim Taymans 6cbf398ad4 node: the callbacks determine async operation 2017-05-11 16:11:08 +02:00
Wim Taymans 361d2b6a87 pinos: Use correct spa/ include paths
Don't include spa/include/spa/... but just spa/..., as otherwise it is
not possible to include these (installed) header files externally.
2017-05-11 11:49:13 +02:00
Jonas Ådahl 5cb35d8bc1 examples/video-play: Use correct SDL enum values 2017-05-11 11:42:59 +02:00
Jonas Ådahl d26eb2da23 meson.build: Add missing header files 2017-05-11 11:42:57 +02:00
Wim Taymans 01246f399e test: pass device in args 2017-05-11 11:41:39 +02:00
Jonas Ådahl 1d8504565a build: Fix API version usage
It was sometimes assumed to be 0.1, sometimes 1.0, and sometimes not to
be used at all. This commit makes things consistent and so that it is
possible to link externally.
2017-05-11 11:41:17 +02:00
Wim Taymans 3b33e3d362 node: improve callbacks
Make separate callbacks for events and RT notifications.
2017-05-11 10:29:20 +02:00
Wim Taymans fb0919b8b7 link: improve state changes 2017-05-02 12:02:27 +02:00
Wim Taymans 3d54d31fac tests: fix for port status changes
We now need to tell the node we consumed a buffer by setting the status
back to NEED_BUFFER.
2017-04-28 17:37:16 +02:00
Wim Taymans fe68ca1be3 audiomixer: small improvements
Improve the audiomixer state handling
Improve PortIO status handling.
2017-04-28 17:22:23 +02:00
Wim Taymans e734d239b9 core: also work without security module 2017-04-28 15:35:54 +02:00
Wim Taymans 308acaf0ad alsa: fix offset 2017-04-28 12:12:14 +02:00
Wim Taymans cc8a5da9c7 Rename buffer status to make it more symetrical
Only try to pull once in a timeout.
We can reuse the last returned state as our internal state in
audiomixer.
2017-04-28 11:49:13 +02:00
Wim Taymans 430b749d53 fix trace logging 2017-04-27 18:56:59 +02:00
Wim Taymans 214a0e27d8 Add support for trace logging in lockfree ringbuffer
Fix some crashes when the connection is dead.
Small cleanups in the audio mixer
Only propose alloc_buffer when we are using export_buf in v4l2
2017-04-27 17:17:47 +02:00
Wim Taymans b51d3e4862 buffer: make data and meta types dynamic
Use dynamic types for the data and meta types.
Move the meta into a separate header.
Remove port state, we can keep track of that ourselves.
Add size to MetaDataEnable params
2017-04-26 18:54:18 +02:00
Wim Taymans ed273ec465 mem: add support for ringbuffers
Add an option to map the memory twice in contigious memory to
make it easier to deal with ringbuffers.
2017-04-26 10:56:00 +02:00
Wim Taymans edb21a0ff8 ringbuffer: small optimization 2017-04-26 09:36:01 +02:00
Wim Taymans 63d060a63e ringbuffer: add stress test 2017-04-25 19:22:06 +02:00
Wim Taymans 82d5ca1edc link: only idle when not already suspended 2017-04-25 13:04:03 +02:00
Wim Taymans 8804980c8f work on state changes
Make things work better after errors
2017-04-25 13:00:09 +02:00
Wim Taymans baada0a330 ringbuffer: use gcc atomic operations
Remove barrier, use GCC atomic operations for ringbuffer
2017-04-24 13:18:57 +02:00
Wim Taymans 02d4dc0efd context: add option to disable registry 2017-04-21 16:39:14 +02:00