Wim Taymans
693fd3a366
meson: only add dependencies when requested
2018-10-19 13:21:52 +02:00
Wim Taymans
e59a7c0848
media-session: set node volume
2018-10-18 15:16:59 +02:00
Wim Taymans
f2e03077a8
audioconvert: add volume and mute property
...
Expose volume and mute property in channelmix and use this
in audioconvert.
2018-10-18 15:04:40 +02:00
Wim Taymans
842abad9e1
client-stream: implement enum_param and set_param better
...
Make it possible to enumerate the parameters and get/set properties
when available on the adapter.
2018-10-18 12:59:31 +02:00
Wim Taymans
c0a6c83227
client-stream: add media.class on node
...
Add the media.class property on the node as well.
2018-10-18 12:56:10 +02:00
Wim Taymans
fd5e315a10
media-session: handle default media roles better
...
Use the media.class to derive a better role.
2018-10-18 12:53:30 +02:00
Wim Taymans
79e976e5d7
audioconvert: small cleanups
2018-10-18 12:47:46 +02:00
Wim Taymans
c6551cead4
protocol-native: return errno when server failed
...
this gives a better error code
2018-10-18 12:36:53 +02:00
Wim Taymans
c28d0f1282
protocol-native: -1 is for invalid fd, not 1
2018-10-18 12:36:44 +02:00
Wim Taymans
88d6e52cc7
add systemd socket activation
2018-10-18 12:36:10 +02:00
Wim Taymans
e29229b6e0
protocol-native: return errno when server failed
...
this gives a better error code
2018-10-18 11:15:27 +02:00
Wim Taymans
6266cd0f48
protocol-native: -1 is for invalid fd, not 1
2018-10-18 11:14:52 +02:00
Wim Taymans
e5dcacdefb
add systemd socket activation
2018-10-18 10:47:21 +02:00
Wim Taymans
a086fc5c0c
port: just number unknown channels
...
Ports with unknown channel layout are just numbered.
2018-10-17 12:45:50 +02:00
Wim Taymans
6590d3a258
alsa: sanitize channel map
...
Remove unknown channels
Remove duplicate channels
Fill unknown channels with default channels
2018-10-17 12:44:05 +02:00
Wim Taymans
e22762d502
link: also handle success case
2018-10-17 10:56:47 +02:00
Wim Taymans
4b4f85afe5
link: renegotiate when no format set
...
When the port has lost the format, renegotiate.
2018-10-17 10:40:03 +02:00
Wim Taymans
d27674722a
improve debug and error handling
2018-10-17 10:02:44 +02:00
Wim Taymans
6c7d2d0e1e
alsa-utils: enumerate channels using channel map
...
When there is a channelmap, return format descriptions for each layout
otherwise return a range.
2018-10-16 18:10:43 +02:00
Wim Taymans
7186bd2583
gst: remove old format id conversion code
2018-10-16 17:13:27 +02:00
Wim Taymans
e079552dc8
link: fix negotiation
...
Don't use the current best format as a filter to get the current format.
It might be different and then we fail.
2018-10-16 17:12:12 +02:00
Wim Taymans
d91e545e1d
stream: set state to unconnected when unconnecting
2018-10-16 17:08:19 +02:00
Wim Taymans
4615c5781a
test-v4l2: call process before looking at io
2018-10-16 17:07:49 +02:00
Wim Taymans
ad35e8ef3b
pod: fix pod compare
2018-10-16 16:50:06 +02:00
Wim Taymans
aa5bc5846f
v4l2: fix preoperty get
2018-10-16 16:49:41 +02:00
Wim Taymans
6267e69638
add uninstalled target
...
Also update submodules
2018-10-16 11:30:38 +02:00
Wim Taymans
7e513ea243
alsa: clamp the period size to something sensible
...
some clients (sweep) want to negotiate the smallest possible period
size we can support, which is expressed in bytes and independent
of samplerate, format and number of channels.
For files with high samplerate and channelcount, this results in periods
of 8 frames, which is too small to handle.
Instead round up the period size to something we can likely handle,
taking into account the samplerate and number of channels.
2018-10-16 10:57:53 +02:00
Wim Taymans
b742d7533e
stream: only queue buffer when filled
...
We need to completely fill the buffer before we queue the buffer. If we
don't do this, we might have reported a larger writable size than
what we actually can do and that makes clients fail.
This is not entirely completely correct because a client can expect to
have its buffer sent as soon as it completes the write. We should really
just queue the data in a separate queue when we run out of buffers.
2018-10-16 09:58:14 +02:00
Wim Taymans
f74a0fb9bd
stream: implement _set_name
2018-10-16 09:56:12 +02:00
Wim Taymans
8377d7e8d1
stream: implement properties update
2018-10-16 09:53:56 +02:00
Wim Taymans
3ebad5c182
client-stream: update properties when client info changes
2018-10-16 09:52:47 +02:00
Wim Taymans
6e6e87223f
channelmix: improve mute/volume handling
...
Don't try to merge the mute/volume into the matrix but pass the volume
as a separate parameter.
2018-10-15 17:57:23 +02:00
Wim Taymans
3018c17622
remote: also keep track of ParamList params
2018-10-15 17:55:14 +02:00
Wim Taymans
ba5e1e614b
props: add some paddig between properties
2018-10-15 17:53:14 +02:00
Wim Taymans
0fe0d5dd85
media-session: also enable session for video
2018-10-15 17:51:47 +02:00
Wim Taymans
87d30a0e04
port: don't keep port flags
...
Always query the port flags when we need them because they can change
and there is therefore no need to keep them around.
2018-10-15 17:49:54 +02:00
Wim Taymans
2b096993ed
media-session: only enable session when format is known
2018-10-15 12:46:50 +02:00
Wim Taymans
b3189bb5e7
media-session: handle port without node
...
Don't crash when the node proxy is destroyed before the port proxy.
2018-10-11 15:56:49 +02:00
Wim Taymans
bfcaec75c7
daemon: put version in config
...
Fixes #88
2018-10-11 09:41:30 +02:00
Wim Taymans
9479a00871
update submodules
2018-10-10 18:50:49 +02:00
Wim Taymans
88c824208a
jack: add more functions
2018-10-10 18:50:11 +02:00
Wim Taymans
7af81f8080
conf: update to latest changes
2018-10-10 18:21:53 +02:00
Wim Taymans
78444aba4e
uninstalled: update uninstalled
2018-10-10 18:04:28 +02:00
Wim Taymans
40cbc27873
jack: add ringbuffer
...
Add soversion and rename to libjack.so.0
2018-10-10 18:00:23 +02:00
Arun Raghavan
dcfe1ac613
meson: Add an uninstalled target and script
...
This makes it easier to run PipeWire from the build environment
2018-10-10 17:17:17 +02:00
Wim Taymans
456c01afbc
meson: enable more options by default
...
Update submodules to latest version
2018-10-10 17:16:01 +02:00
Tapasweni Pathak
8d71d2dab8
pipewire: add enable/disable to meson for spa plugins
2018-10-10 16:01:28 +02:00
Wim Taymans
7303f2c1a0
alsa: implement query_chmaps
2018-10-10 15:32:08 +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
a00c00baed
stream: maxlength / size is the number of buffers we want
...
tlength is what the server buffers and is of no importance for deciding
the number of buffers.
2018-10-09 17:31:06 +02:00