Commit graph

1239 commits

Author SHA1 Message Date
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
Wim Taymans
e02b3181da audio-session - >media-session
Also implement video in the media session
Small cleanups
Improve exclusive mode
2018-05-14 13:07:01 +02:00
Wim Taymans
bed26040ef node: add driver position struct
Pass driver info to client
use current buffersize and samplerate in client
update the buffer size dynamically based on session
2018-05-11 10:15:59 +02:00
Wim Taymans
2c6ff2dad2 audio-session: detect sample rate 2018-05-11 10:01:13 +02:00
Wim Taymans
bd3b7e8ee4 alsa: cleanups
Use a periodic timer to catch underruns
Small cleanups
2018-05-11 09:56:46 +02:00
Wim Taymans
97473c8e8b audioconvert: fix scheduling 2018-05-10 11:28:59 +02:00
Wim Taymans
22b8a6f01a logger: make info lines green 2018-05-10 11:28:25 +02:00
Wim Taymans
6d79ce2589 small cleanups 2018-05-10 11:28:02 +02:00
Wim Taymans
1ede97577b small cleanups 2018-05-08 12:23:23 +02:00
Wim Taymans
d93dd5ec93 graph: remove io from graph port, it's not needed 2018-05-08 12:21:57 +02:00
Wim Taymans
249110eb79 graph: trigger does not need to be a callback 2018-05-08 12:19:54 +02:00
Wim Taymans
cf6794203d node: initialize before registering
First perform the initialize signal so that we can finalize
initialization before registering the object.
2018-05-08 10:48:38 +02:00
Wim Taymans
27c53a31bc stream: add exclusive flag
With the exclusive flag we don't go through the audio-dsp.
2018-05-08 10:47:18 +02:00
Wim Taymans
eb96ed45d7 move audio-dsp to audio-session
Make a new module audio-session that manages clients and what audio
sessions they use.
Move the audio-dsp to the audio-session
2018-05-08 10:45:50 +02:00
Wim Taymans
7bb0e4da85 small cleanups 2018-05-08 10:42:17 +02:00
Wim Taymans
b160d81d2f stream: fix driver mode 2018-05-02 11:42:04 +02:00
Wim Taymans
7c4baf88ea link: move all graph nodes 2018-04-30 11:44:20 +02:00
Wim Taymans
b8a37381da alsa: adjust latency based on buffer size 2018-04-30 09:27:20 +02:00
Wim Taymans
d5e658e8f9 audio-dsp: add support for s32 format as well 2018-04-27 17:30:45 +02:00
Wim Taymans
c2cd56d903 loop: inline frequently used function 2018-04-27 17:29:39 +02:00
Wim Taymans
3e68dee7ff alsa-source: don't use htimestamp, it's not accurate 2018-04-27 17:29:11 +02:00
Wim Taymans
db77de9258 fmtconvert: only produce output when need_buffer 2018-04-26 17:23:47 +02:00
Wim Taymans
09cec04380 audio-dsp: implement capture 2018-04-26 17:23:27 +02:00
Wim Taymans
60d74d442f alsa: fix capture 2018-04-26 17:22:17 +02:00
Wim Taymans
7f6ac1162d stream: improve node.name 2018-04-26 10:26:56 +02:00
Wim Taymans
a6cb6b740c client-node: make it possible to skip signal
Add an option to not signal the remote implementation when we still
have enough data.
2018-04-26 09:49:29 +02:00
Wim Taymans
f784da5505 pipewire: add info to interface load
Make it possible to pass info to interface load
Enable color logs
2018-04-26 09:48:19 +02:00
Wim Taymans
8961e6d1c7 logger: add colors
Add colors and option to enable them
2018-04-26 09:47:24 +02:00
Wim Taymans
e74c41bdf6 splitter: fix bpf
Number of channels does not influence bytes-per-frame for
non-interleaved audio.
Add layout to get_format
2018-04-26 09:29:10 +02:00
Wim Taymans
b3c842a7ec stream: handle driver sources and sinks 2018-04-25 15:58:38 +02:00
Wim Taymans
9376ba6098 client-stream: improve case without adapter
Handle the case where we don't have/need an adapter.
Add the adapter and client-node to the graph
2018-04-25 15:56:39 +02:00
Wim Taymans
013b606a89 node: add driver graph field and schedule it for drivers 2018-04-25 15:55:30 +02:00
Wim Taymans
20692cf173 link: cleanups 2018-04-25 15:54:00 +02:00
Wim Taymans
e9839bade6 autolink: link to specified node unconditionally 2018-04-25 15:50:17 +02:00
Wim Taymans
bad8dac56e autolink: fix else branch 2018-04-25 15:49:59 +02:00
Wim Taymans
ced868c208 graph: improve debug 2018-04-25 15:49:08 +02:00
Wim Taymans
f9bda23e56 a2dp-sink: remove sources only once 2018-04-24 17:21:23 +02:00
Wim Taymans
b122f86e11 stream: always listen to the remote events
So that we can give a stream error on disconnect.
2018-04-24 17:11:21 +02:00
Wim Taymans
c4414bc9bc node: register ports in the registering event
That way we send registry events in order but only signal global_add
when the node is completely registered.
2018-04-24 17:10:17 +02:00
Wim Taymans
5e89e9421c link: only assume ports registered when registering the link 2018-04-24 17:09:34 +02:00
Wim Taymans
c24044108a link: always pause ports on deactivate 2018-04-24 17:08:57 +02:00
Wim Taymans
592cdfe90d global: add registering signal
Add a new signal that can be used to register child objects
2018-04-24 17:07:56 +02:00
Wim Taymans
23dbf76e85 spa-node: first activate, then register 2018-04-24 17:07:01 +02:00
Wim Taymans
d7f1be0376 monitor: add time when device was plugged 2018-04-24 17:06:37 +02:00
Wim Taymans
f8222c765e autolink: prefer latest plugged device 2018-04-24 17:05:48 +02:00
Wim Taymans
d2c545be8d audio-dsp: handle node remove
Handle dynamic samplerate and channels
Improve node names
Keep track of removed nodes
2018-04-24 17:03:56 +02:00
Wim Taymans
08484b92f5 bluez5: handle remove of devices
Fix a2dp-sink for new scheduling
2018-04-24 17:02:19 +02:00
Wim Taymans
4c9c939527 alsa-monitor: keep track of cards and devices
Keep better track of cards and devices so that we can remove them
without having to open (the removed device).
2018-04-24 17:01:04 +02:00