Commit graph

4710 commits

Author SHA1 Message Date
Wim Taymans
c208511f53 proxy: reuse id when server removed it
When we destroy the proxy, just clear the id. We then remove the id
completely when the server sends a remove_id request. This avoid
reusing the proxy id before the server has finished with it.
2018-06-15 13:01:08 +02:00
Wim Taymans
d1e2f69324 connection: reset number of fds 2018-06-15 12:59:08 +02:00
Wim Taymans
18f0194008 audioconvert: apply ouput range to resampler as well 2018-06-15 12:45:04 +02:00
Wim Taymans
4ac21aea53 stream: remove conversion
Improve audioconvert to also split the output.
Remove the format conversion from the stream and move into the
server client-stream.
2018-06-15 11:31:42 +02:00
Wim Taymans
acfd07c504 client-stream: allocate the right number of buffers 2018-06-15 11:30:20 +02:00
Wim Taymans
ba0a68aab3 client-stream: improve debug 2018-06-15 11:29:38 +02:00
Wim Taymans
0c359a6819 spa: make a #define for default rate and channels 2018-06-15 11:26:03 +02:00
Wim Taymans
b53f96eae9 alloc: fix buffer data mem
We also need to skip over the metadata and chunk memory
2018-06-15 11:13:02 +02:00
Wim Taymans
057da435da stream; use const params in finish_format 2018-06-08 12:29:26 +02:00
Wim Taymans
1b37db8add resample: fix resample length
Don't use output sizes as input size for the next channel.
2018-06-08 12:27:19 +02:00
Wim Taymans
2254a124af implement more api 2018-06-07 11:16:09 +02:00
Wim Taymans
b90101bf5b channelmap: fix parse 2018-06-07 11:04:52 +02:00
Wim Taymans
261452d400 jack: fix for position and properties 2018-06-07 11:03:00 +02:00
Wim Taymans
e5629b23f3 client-node: pass position around
Pass the position from server to clients
Implement current time in stream.c using the position info
2018-06-07 11:01:20 +02:00
Wim Taymans
3d25e254ef client-node: implement node property update
Make it possible to update the node properties
Make it possible to update the remote properties
2018-06-07 10:23:41 +02:00
Wim Taymans
5d30ccfaff alsa: avoid crash when connection fails
Set the client api in properties
2018-06-07 10:18:33 +02:00
Wim Taymans
b029000610 thread-loop: set thread name 2018-06-05 20:11:50 +02:00
Wim Taymans
eb8b1fd421 properties: add setva function 2018-06-05 20:11:32 +02:00
Wim Taymans
fe932db2c6 Various improvements
context: fix memory free
subscribe: implement dummy methods
introspect: implement more
stream: keep track of dequeued buffers ourselves because we need to
be able to cancel and keep track of writable size.
2018-06-05 20:10:31 +02:00
Wim Taymans
68643fd25a context: don't free NULL properties 2018-06-01 11:42:23 +02:00
Wim Taymans
4005cf03e6 meson: add puleaudio library 2018-06-01 11:38:18 +02:00
Wim Taymans
5a0594db35 remove unused files 2018-06-01 11:32:07 +02:00
Wim Taymans
faa5984fce Initial import 2018-06-01 11:28:31 +02:00
Wim Taymans
46ad3155b5 module: implement properties 2018-06-01 11:23:02 +02:00
Wim Taymans
c0a3220228 pipewire: improve application.name 2018-06-01 11:19:54 +02:00
Wim Taymans
bf2a6bb1d7 client-node: small cleanups 2018-06-01 11:19:22 +02:00
Wim Taymans
220d934842 stream: improve async connect 2018-06-01 11:18:22 +02:00
Wim Taymans
1bfb1d9228 loop: return number of dispatched fds and update docs 2018-06-01 11:16:53 +02:00
Wim Taymans
6f5a2701f3 utils: add some more helpers 2018-06-01 11:08:25 +02:00
Wim Taymans
b4d2e47c34 jack: manage io areas better 2018-05-25 12:48:23 +02:00
Wim Taymans
b6500bcb80 audioconvert: fix max number of links 2018-05-24 18:09:54 +02:00
Wim Taymans
e8b0422514 alsa: fix drain
Keep sending samples when draining
Prefer float and 32 bit formats
2018-05-24 17:17:47 +02:00
Wim Taymans
3fdeb64ddb stream: only try to send again when needed
We should only try to send data when the process call prepared new
data for us and we didn't already have data.
2018-05-24 16:16:11 +02:00
Wim Taymans
5a1bd77fb5 buffer: add dummy field for better alignment 2018-05-24 16:15:40 +02:00
Wim Taymans
2e0e68e46e prefer 48KHz and 32 bit samples when we can 2018-05-24 16:14:53 +02:00
Wim Taymans
5b05b21865 jack: implement more transport info 2018-05-24 16:13:23 +02:00
Wim Taymans
796c91440e jack: support midi buffers 2018-05-24 16:12:59 +02:00
Wim Taymans
9902886ba5 jack: support port matching with regex 2018-05-24 16:11:54 +02:00
Wim Taymans
f5f1a435cc client-node: improve time and position reporting 2018-05-24 16:10:22 +02:00
Wim Taymans
2d34a405e8 audioconvert: improve negotiation 2018-05-24 16:09:31 +02:00
Wim Taymans
c6c3b73ee3 jack: many improvements
Implement more jack api
Implement mix ports
Improve memory mapping
Adapt to the pipewire work branch
Implement dynamic buffersize and samplerate
2018-05-21 13:12:26 +02:00
Wim Taymans
ef9fcd1093 node: keep better track of driver node
When a session disappears, try to move nodes to another session.
2018-05-17 17:40:08 +02:00
Wim Taymans
1bff5afe05 client-stream: reset format on adapter 2018-05-17 17:38:13 +02:00
Wim Taymans
bb632859ea remote: clear buffers when format changes 2018-05-17 17:31:01 +02:00
Wim Taymans
6450c64542 clean up listeners 2018-05-17 17:30:30 +02:00
Wim Taymans
69d4144932 audioconvert: handle cleanup and renegotiation 2018-05-17 17:27:14 +02:00
Wim Taymans
c61d579d99 small cleanups 2018-05-17 17:26:09 +02:00
Wim Taymans
65e00631da hook: make safer
Also protect against removal of the next hook by using a cursor.
2018-05-17 17:21:30 +02:00
Wim Taymans
bdeedad1d6 auto-link: remove obsolete module 2018-05-17 17:21:07 +02:00
Wim Taymans
8fcf27848f config: fail when something fails 2018-05-14 13:07:55 +02:00