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
053e01177d
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.
Fixes #110
2018-12-14 10:07:55 +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
73aac68908
flatpak: only update permissions on sandboxed clients
2018-12-12 15:47:01 +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
72b61f614a
stream: handle monitor sources
2018-12-11 16:37:30 +01:00
Wim Taymans
4cb36762b0
jack: add PIPEWIRE_NOJACK to disable jack connections
2018-12-11 16:36:36 +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
c201a1e666
stream: enable monitor when PEAK_DETECT flag is set
2018-12-05 16:02:03 +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
ece9cff495
introspect: implement kill operations
2018-12-04 16:36:49 +01:00
Wim Taymans
bb101afa0c
introspect: merge client properties in sink_input/source_output
...
sink_input and source_output must contain the merged properties of
the client.
2018-12-04 16:34:58 +01:00
Wim Taymans
e0970386f0
context: add properties
2018-12-04 16:33:59 +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
2d4ecaf85d
introspect: use right client property
2018-12-04 13:38:58 +01:00
Wim Taymans
1efd5f185c
proplist: implement merge mode
2018-12-04 13:38:46 +01:00
Wim Taymans
53c2eb2625
stream: clear queued items when clearing buffers
2018-12-04 13:36:37 +01:00
Wim Taymans
84a7bf671c
stream: connect to source and sink
...
Stream: also connect to the right source, try to convert the name to
index when lookup fails, just like what pulseaudio does.
Implement more proplist functions, add some more info to the stream.
stream: handle NULL format
Improve introspection of the sink_input and source_output name, this
should be the media.name when possible.
2018-12-04 11:50:23 +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
ad723e3793
context: log more info on errors
2018-12-03 15:12:27 +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
39078f2abc
meta: use spa_point and spa_rectangle
...
Change Cursor and Bitmap to what the work branch uses
2018-11-30 15:49:58 +01:00