Wim Taymans
0984096089
free() can handle NULL just fine so skip the check
...
Fixes #117
2018-12-19 17:47:25 +01:00
Wim Taymans
b6db6e2130
channelmix: add quad and 3.1 to mono optimisation
2018-12-19 16:49:29 +01:00
Wim Taymans
00d1488c07
channelmix: handle mono like Front Center
2018-12-19 16:49:00 +01:00
Wim Taymans
0a4ef3d2c0
resample: add SSE peaks resampler
2018-12-19 16:47:20 +01:00
Wim Taymans
5390079b4a
video-src: set valid cursor id
2018-12-18 16:01:12 +01:00
Wim Taymans
7f52246caf
Add some more error checking
...
Fixes #116
2018-12-18 15:37:08 +01:00
Wim Taymans
a1e567b985
stream: remove listener on disconnect
2018-12-18 15:35:04 +01:00
Wim Taymans
6430ca0093
Add some more error checking
...
Fixes #116
2018-12-18 15:26:08 +01:00
Tanu Kaskinen
e7a8c29063
bluez5: remove an unused variable
...
This gets rid of a compiler warning.
2018-12-18 13:54:17 +00:00
Tanu Kaskinen
f80620f1f8
meson: increment apiversion
...
There are ABI breaking changes in libpipewire.
2018-12-18 13:54:03 +00:00
Wim Taymans
7104df1b21
cpu: detect MMXEXT as well
2018-12-17 13:37:27 +01:00
Wim Taymans
ae6d261122
update pulse
2018-12-17 13:29:00 +01:00
Wim Taymans
96205687c5
stream: make sure we have a context
...
Make sure we ref the stream because else it would be freed when
disconnected and we can't get the context anymore.
2018-12-17 13:27:27 +01:00
Wim Taymans
4dfe1011a6
audioconvert: use cpu detection interface
2018-12-17 13:26:54 +01:00
Wim Taymans
e984c19f6c
core: load and add cpu detection support
2018-12-17 13:26:04 +01:00
Wim Taymans
9ca9fda253
cpu: add cpu support implementation
2018-12-17 13:25:27 +01:00
Wim Taymans
6f75c2d078
cpu: add cpu detection support
2018-12-17 13:23:51 +01:00
Wim Taymans
5025aa97e6
audioconvert: fix x86 feature defines
2018-12-17 10:20:18 +01:00
Wim Taymans
52368091e3
v4l2: actually pass the device path to the node
2018-12-17 10:16:06 +01:00
Wim Taymans
fb54de0dd0
submodule update
2018-12-14 16:44:12 +01:00
Wim Taymans
41513f11f3
context: improve cleanup
2018-12-14 16:43:34 +01:00
Wim Taymans
21c11e70fb
operation: keep ref on stream
2018-12-14 16:42:57 +01:00
Wim Taymans
6db8e05256
introspect: implement more
2018-12-14 16:42:36 +01:00
Wim Taymans
35edefdaaf
context: emit change event when nodes are linked
2018-12-14 16:42:01 +01:00
Wim Taymans
b177f1d146
context: small cleanups
2018-12-14 16:41:19 +01:00
Wim Taymans
c9ac5e6e1e
context: report error only once
2018-12-14 16:39:19 +01:00
Wim Taymans
3be759ced2
stream: handle proxy destroy
...
When the proxy is destroyed, mark the stream as unconnected and remove
our reference to the proxy.
2018-12-14 16:38:46 +01:00
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