Wim Taymans
e918f9f77c
fix sign confusion
2019-01-07 15:52:42 +01:00
Wim Taymans
7cd55c2c6b
fix switch fallthrough cases
2019-01-07 15:11:34 +01:00
Wim Taymans
9573b24e52
cpu: add force cpu flags
...
Use PIPEWIRE_CPU to force cpu flags.
2019-01-07 15:02:18 +01:00
Wim Taymans
1ca7704d64
type-info: fully initialize structs
2019-01-07 13:56:08 +01:00
Wim Taymans
3cfd1e6cf1
compare: fix sign for compare of id
2019-01-07 13:41:10 +01:00
Wim Taymans
dbbcd3fdc4
defs: add SPA_LIKELY to MIN/MAX/CLAMP macros
2019-01-07 13:39:57 +01:00
Wim Taymans
3480765561
parser: add more parser helpers
2019-01-04 10:00:12 +01:00
Wim Taymans
a41624d48b
iter: make iteration safer
...
Check if the pod size is within the parent pod size
2019-01-04 09:59:33 +01:00
Wim Taymans
f246c7b8ef
parser: add more parser helpers
2019-01-03 17:43:07 +01:00
Wim Taymans
ba7b2d8c21
meta: clarify the meaning of hotspot when no bitmap
2019-01-03 17:28:25 +01:00
Wim Taymans
8984c6f48d
meta: document fields some more
2019-01-03 17:18:12 +01:00
Wim Taymans
6f75c2d078
cpu: add cpu detection support
2018-12-17 13:23:51 +01:00
Wim Taymans
ac5f0b851d
meta: add cursor metadata and examples
...
Add a moving and flashing circle cursor to video-src
Render the cursor in video-play
Alsa add VideoCrop metadata
2018-11-30 15:12:46 +01:00
Wim Taymans
bf344a86e5
alsa: add on and off profiles
2018-11-29 15:24:13 +01:00
Wim Taymans
7bc9c1ebfe
node: remove info from node interface
...
Replace with info event emited when callbacks are set. This makes it
easier to implement dynamic changes.
2018-11-26 12:41:40 +01:00
Wim Taymans
57e94f7bc4
monitor: remove enum_items
...
Make the monitor and device emit the info and items when the callbacks
are set. This makes it easier to implement the monitor because there
is much less state to keep around and invalidate etc.
Rework the monitors
Add bluez5 device
2018-11-26 12:18:53 +01:00
Wim Taymans
e23c209a5f
alsa: implement monitor and device
2018-11-23 17:41:39 +01:00
Wim Taymans
e1bd12e599
device: add device object
...
Make a device object, let the v4l2 monitor create device objects
The device object is responsible for dynamically creating nodes.
2018-11-23 12:43:47 +01:00
Wim Taymans
9d44d0b135
parser: add some utils to parse values
2018-11-16 16:52:04 +01:00
Wim Taymans
0303b7d1c5
props: add rate property
2018-11-16 16:48:49 +01:00
Wim Taymans
b6f01542d8
spa: explicitly cast the offset to signed int
...
As reported by Marcello Blancasio, convert the offset to a signed int
to avoid conversion without sign extension. Fixes unmap of stream
memory.
Fixes #103
2018-11-12 12:05:59 +01:00
Wim Taymans
e69cf24f24
alsa: add dll to estimate clock drift
...
Make delay signed in the clock io so that we can simply add it to the
tick to get the hw position.
Add clock drift to clock info
2018-11-09 15:26:08 +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
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
85f2e93c54
Relicense as MIT/X11
...
Remove some obsolete files
2018-11-05 17:48:52 +01:00
Wim Taymans
b87397025e
pod: handle unknown types without crashing
2018-11-02 12:12:34 +01: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
Wim Taymans
58c6d76328
pod: also handle choice in compare
2018-10-27 10:43:09 +01:00
Wim Taymans
4aab226047
io: add size of current cycle to position
2018-10-24 10:27:06 +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
ad35e8ef3b
pod: fix pod compare
2018-10-16 16:50:06 +02:00
Wim Taymans
ba5e1e614b
props: add some paddig between properties
2018-10-15 17:53:14 +02:00
Wim Taymans
9dba8f3a36
stream: add flush and drain command
2018-10-09 16:33:54 +02:00
Wim Taymans
e1ec1bad23
spa: add profile param
...
Make a profile param that can be used to configure a node with a
certain profile.
Use the profile to configure the ports on splitter and merger and
get rid of the dynamic ports.
Use the profile to configure the client-node and audio-dsp.
Don't try to link more ports than available between client-node and
dsp.
2018-10-08 11:45:52 +02:00
Wim Taymans
595daf86c6
spa: add some macros to events and object types
2018-10-08 11:43:18 +02:00
Wim Taymans
1ef1563591
node: add PortsChanged event
...
Add the PortChanged event and make it rescan the node ports.
2018-10-02 17:35:54 +02:00
Wim Taymans
3d36755c4f
audio-dsp: use type-info to get channel names
2018-10-02 10:17:12 +02:00
Wim Taymans
0f69a7b767
node: remove and add node from graph in idle/running
...
Add the node and all links to the graph when going to running and
remove them again when idle.
2018-10-02 05:10:55 +02:00
Wim Taymans
8f7328173b
utils: add another flag helper macro
2018-09-28 17:47:37 +02:00
Wim Taymans
940c8645d3
remove property flags
...
Remove the property flags, we will add info about properties
with the param interface.
2018-09-28 17:44:14 +02:00
Wim Taymans
74ebff6b7d
add some more debug log
2018-09-25 17:08:59 +02:00
Wim Taymans
39240fb9c0
use _list_consume to destroy objects
2018-09-25 13:05:13 +02:00
Wim Taymans
1b933e5b32
loop: use simple hook emission
...
Add new simple hook emision without a cursor. The one with the cursor
is not thread safe and is not needed for the loop.
2018-09-24 11:35:46 +02:00
Wim Taymans
1ea3d5c474
compare: fix pod compare
2018-09-17 21:51:58 +02:00
Wim Taymans
fef616615e
filter: add leftover properties
...
Add the extra properties from the filter to the result.
2018-09-17 09:38:10 +02:00
Wim Taymans
3265407d55
audio: place side channels before rear in default layouts
...
This is probably more logical
2018-09-17 09:36:48 +02:00
Wim Taymans
fcd90b25d3
More work on multichannel
...
Reorder channels to a more common default order.
Only add channel layout when channels > 1
Don't try to link to a session that is still starting
Small sse fixes.
2018-09-14 15:23:12 +02:00