Commit graph

1801 commits

Author SHA1 Message Date
Wim Taymans
2025a9ad3b node: only move other nodes, not ourselves 2018-12-14 16:37:15 +01:00
Wim Taymans
4be368c957 media-session: handle dont-reconnect
If dont-reconnect is given and a target node, kill the stream when
the target node can't be found.
2018-12-14 16:35:57 +01:00
Wim Taymans
8e969c9d44 media-session: set media (sub)type on dsp nodes 2018-12-13 17:26:35 +01:00
Wim Taymans
3ab95f66f3 media-session: don't set audio profile on non-audio nodes 2018-12-13 17:18:37 +01:00
Wim Taymans
a331779a28 resample-peaks: fix peaks resampler
Keep separate variable to check if we searched a complete chunk.
2018-12-13 16:23:02 +01:00
Wim Taymans
0a27040c9a port: keep track of mix port states
Keep track of the state of the mixer ports and update the port state
accordingly. This avoids clearing the format or buffers on the port
when mixers are still busy.
2018-12-13 12:04:02 +01:00
Wim Taymans
08a63ded5d audioconvert: pass samples to convert functions
Pass the number of samples to convert functions instead of number of
bytes because it is much more useful.
2018-12-13 12:02:47 +01:00
Wim Taymans
491dd785ad media-session: only try to link to nodes 2018-12-12 18:32:28 +01:00
Wim Taymans
2fd8f0906f alsa: set stride to frame size 2018-12-12 15:13:36 +01:00
Wim Taymans
4606d46621 channelmix: add more MONO mappings
Also just warn when we can't assign a channel
2018-12-11 16:53:53 +01:00
Wim Taymans
97f7ad31a4 submodule update 2018-12-11 16:38:07 +01:00
Wim Taymans
02585c6ca9 merger: add monitor ports
Add an option to enable monitor ports. Use this in the audio dsp
to expose monitor ports on the audio dsp nodes.
2018-12-11 16:35:40 +01:00
Wim Taymans
2bd7f5c934 media-session: skip non-dsp ports on dsp nodes
Detect DSP nodes sooner, flag pads that have the dsp property, skip
ports on DSP nodes without the dsp flag.
2018-12-11 16:32:19 +01:00
Wim Taymans
626cdab268 node: log error 2018-12-11 15:23:12 +01:00
Wim Taymans
3476617cff node: only add node when active
When moving a node from one graph to another, only add the node if
it was actually added to the source graph. Because nodes are added when
activated, it might be possible the node was not added yet.
2018-12-10 15:09:04 +01:00
Wim Taymans
c42b108ac8 resample: small optimization 2018-12-10 12:58:10 +01:00
Wim Taymans
74c71e9bad resample: only free resampler when implemented 2018-12-05 16:05:40 +01:00
Wim Taymans
fd82f38ff4 pulse submodule update 2018-12-05 16:02:36 +01:00
Wim Taymans
9805c2f413 stream: add DONT_RECONNECT flag 2018-12-05 16:01:42 +01:00
Wim Taymans
4d780e87aa client-stream: activate peaks resampler when monitoring 2018-12-05 16:00:52 +01:00
Wim Taymans
5fcbbb4d6b media-session: keep track of profile format
Also keep track of the profile format of a node, this is the profile we
choose for it and what we should use as a profile for the peer node.
2018-12-05 15:59:45 +01:00
Wim Taymans
11a3370f12 merger: add some more debug 2018-12-05 15:59:22 +01:00
Wim Taymans
5fa7e0f3eb resample: add peaks resampler 2018-12-05 15:58:55 +01:00
Wim Taymans
e7462c470e channelmix: handle more conversion to mono 2018-12-05 15:54:07 +01:00
Wim Taymans
bf1c927087 alsa: reset queued and free buffers on start
When we are out of buffers, drop the available samples.
2018-12-05 11:23:30 +01:00
Wim Taymans
f0244f659c submodule update 2018-12-04 16:37:24 +01:00
Wim Taymans
bdc97ae140 client-stream: fix cleanup
first let the client-stream node cleanup and then destroy our
client-node.
2018-12-04 16:20:57 +01:00
Wim Taymans
53c2eb2625 stream: clear queued items when clearing buffers 2018-12-04 13:36:37 +01:00
Wim Taymans
dd28116f12 stream: set node name to stream name 2018-12-04 11:35:21 +01:00
Wim Taymans
3cdd52832e properties: add _clear function 2018-12-04 11:34:59 +01:00
Wim Taymans
e6c023cd34 properties: don't add NULL values 2018-12-04 11:34:30 +01:00
Wim Taymans
26958eabaa pipewire: add DISPLAY 2018-12-04 11:33:43 +01:00
Wim Taymans
ee307e9c48 port: also set buffers when 0 2018-12-03 17:59:57 +01:00
Wim Taymans
4e7af5644b alsa: set period size to something larger
Setting a small period size will also result in a small buffer, on some
cards smaller than what we can deal with right now.
2018-12-03 15:56:53 +01:00
Wim Taymans
d6836d89ee alsa: stop try writing samples when no progress 2018-11-30 17:52:48 +01:00
Wim Taymans
c5f5f1d94b alsa-device: remember current profile 2018-11-30 17:52:23 +01:00
Wim Taymans
7091ad340d video-play: check valid metadata 2018-11-30 15:53:31 +01:00
Wim Taymans
537399bbe5 video-play: handle arbitrary cursor sizes
video-play: only allocate the texture when we know the size and
format of the cursor bitmap.
video-src: make cursor size defined with constants.
2018-11-30 15:31:55 +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
c982f73779 remote: send start command before adding the source 2018-11-29 17:48:26 +01:00
Wim Taymans
67e6a66429 remote: pause with invoke 2018-11-29 17:31:47 +01:00
Wim Taymans
bf344a86e5 alsa: add on and off profiles 2018-11-29 15:24:13 +01:00
Wim Taymans
354bb042e2 alsa: retry _avail after xrun
..or else we pretend all is fine and end up with no available samples
to read in an infinite loop.
2018-11-29 15:19:33 +01:00
Wim Taymans
a195700eac node: also suspend node on destroy 2018-11-29 15:16:00 +01:00
Wim Taymans
cb2b1fb3ff handle enum_param errors on port, node and device 2018-11-29 15:15:06 +01:00
Wim Taymans
dfc464413b stream: set proxy to NULL in disconnect
The proxy is NULL while disconnected, handle this case.
2018-11-28 17:34:53 +01:00
Wim Taymans
20bcbbde78 node: handle errors from enum_param 2018-11-28 17:34:34 +01:00
Wim Taymans
6e66456381 device: implement param introspection 2018-11-28 17:34:16 +01:00
Wim Taymans
4810d91c58 media-session: use direction to derive CATEGORY
Try to use the stream direction to figure out the CATEGORY when missing.
Add some more debug
2018-11-28 17:32:35 +01:00
Wim Taymans
54f527ac02 introspect: remove ENUM_PARAM change
Remove the ENUM_PARAM change bit, we want to do this with a specific
event later that would allow us to specify which params changed etc.
2018-11-28 17:31:00 +01:00