Tapasweni Pathak
8d71d2dab8
pipewire: add enable/disable to meson for spa plugins
2018-10-10 16:01:28 +02:00
Wim Taymans
805240258b
Improve channel positions
...
Sort the channel positions as the suggested format
Use the session node channel positions as the target profile
2018-10-09 20:11:01 +02:00
Wim Taymans
9dba8f3a36
stream: add flush and drain command
2018-10-09 16:33:54 +02:00
Wim Taymans
754782f302
add some more debug
2018-10-09 15:17:31 +02:00
Wim Taymans
822b033fb1
channelmix: fix copy multiple channels
2018-10-08 18:19:15 +02:00
Wim Taymans
f06c1723a8
fmtconvert: also return inio status
2018-10-08 17:47:52 +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
a95cd608e7
a2dp: improve negotiation
2018-10-05 11:10:36 +02:00
Wim Taymans
4764d69e26
merger/splitter: only dynamic ports are dsp ports
2018-10-05 10:26:30 +02:00
Wim Taymans
8de1d03feb
audioconvert: use splitter/merger
...
Remove the split/merge functionality from fmtconvert.
Make audioconvert use the splitter/merger.
Let client-stream decide what mode to configure audioconvert in.
2018-10-04 16:03:14 +02:00
Wim Taymans
4401e479c6
small cleanups
2018-10-02 17:37:38 +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
ec88101004
v4l2: move log to instance
2018-10-01 10:55:35 +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
7a0a150337
logger: add support for logging to file
2018-09-26 10:48:01 +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
ec1d7b8df7
alsa: deal with less frequent hw pointer updates
2018-09-24 13:37:10 +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
0aca605bfb
alsa: init variable correctly
...
We need to initialize the frames variable correctly before calling mmap.
Also initialize the now timer when starting.
2018-09-24 10:36:53 +02:00
Wim Taymans
1ebb3850e9
alsa: remove useless debug
2018-09-20 10:11:22 +02:00
Wim Taymans
4fd72eaee0
channelmix: debug matrix
2018-09-18 17:23:05 +02:00
Wim Taymans
64c38e3a6f
channelmix: construct matrix and use coefficients
2018-09-18 17:06:47 +02:00
Wim Taymans
61cc453cbe
channelmix: mix some LFE as well
2018-09-18 12:32:46 +02:00
Wim Taymans
1ea3d5c474
compare: fix pod compare
2018-09-17 21:51:58 +02:00
Wim Taymans
75a22eedb0
fmt: fix conversion > 4 channels
2018-09-17 17:15:47 +02:00
Wim Taymans
20cbbd2cc9
explicitly allow mono and stereo with unknown layouts
2018-09-17 17:15:22 +02:00
Wim Taymans
ca2d35ca30
alsa: fix monitor strings
2018-09-17 17:15:05 +02:00
Wim Taymans
78b7da608f
channelmix: more improvements
...
work with the default channel layout
remap to default channel layout in fmconvert
Pass channel positions in resample format
2018-09-17 09:41:41 +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
Wim Taymans
5196f7f053
audio: remove layout from audio
...
Make special format types for planar and interleaved instead of
having a field.
Add enum for audio channel positions
Add some default audio channel layouts
Place the channel layout in the audio format when possible
alsa: place audio channel positions in format
Add sse optimized channel mixing for some common cases
Remove name from port info, it's not mandatory and in the properties
Add direction to port info
2018-09-13 17:03:56 +02:00
Wim Taymans
fb3379e587
Pass channelmask around and use it to name ports
...
Use the channel name in the port names of the dsp
2018-09-11 18:09:45 +02:00
Wim Taymans
d80274e663
pod: small improvements for pod iterator
2018-09-10 18:46:33 +02:00
Tomas Popela
cea31ff8fb
Fix build with clang
...
By using __typeof__ instead of typeof:
/usr/include/pipewire/array.h:85:11: error: use of undeclared identifier 'typeof'; did you mean 'typeid'?
alloc = SPA_MAX(alloc, arr->extend);
2018-09-10 10:08:28 +02:00
Wim Taymans
c904bed186
More test
2018-09-05 17:23:14 +02:00
Wim Taymans
cc842cbdc8
Type changes
...
Only allow properties inside objects, this makes it easier to
iterate the object, which is needed for efficiently processing
control streams.
Add a choice type to mark variable properties.
SPA_TYPE_Enum -> SPA_TYPE_Id to avoid confusion with choice enum
Make it easier to allocate and initialize properties on the stack
Make more efficient methods to make objects.
2018-09-05 16:41:07 +02:00
Jan Alexander Steffens (heftig)
03fdabd155
meson: Use pkgconfig.generate
...
Also fixes the moduledir having a duplicated prefix.
2018-09-03 21:26:42 +02:00
Wim Taymans
db277bebb6
add missing file
2018-09-01 14:10:04 +02:00
Wim Taymans
699bed4a1f
channelmix: improve control parsing
2018-08-31 09:17:21 +02:00
Wim Taymans
0bce72d898
stream: reimplement volume changes with notify stream
...
Implement volume changes with a notify stream.
Do volume changes in the channel mixer with control streams.
2018-08-30 12:02:39 +02:00
Wim Taymans
7cdb980b1a
debug: allow custom type root
2018-08-30 12:01:52 +02:00
Wim Taymans
05d3502c84
control: rework for spa_io_sequence
...
Put a pw_control object on all ports that support control messages.
Allow linking of control objects (and thus ports).
Make export-sink generate control messages to update the contrast
property.
2018-08-30 09:54:54 +02:00
Wim Taymans
2631db14a8
pod: use {} as object delimited, like json
...
Use <> for sequence
2018-08-30 09:53:29 +02:00
Wim Taymans
ff6a244d8f
Make media type and subtype properties
...
This is easier to debug and we only want properties in objects
in the future.
2018-08-29 18:08:52 +02:00