Wim Taymans
42e0b520aa
stream: Detect if we are driving or not
...
We need to check the position vs the clock to see if we are currently
driving the graph. We can only call the node ready callback when
we are actually driving the graph.
2021-08-06 13:09:39 +02:00
Peter Hutterer
5da2081a4b
default-profile: document what this module does in more detail
2021-08-06 08:03:27 +00:00
Peter Hutterer
43a560e25f
default-profile: make the job to restore a saved profile easier to read
...
"restored" describes a state but the only case we actually set this
value if we want to restore our previously saved profile. Rename a
variable to indicate this, makes it easier to understand.
2021-08-06 08:03:27 +00:00
Peter Hutterer
cec4699986
default-profile: remove write-only field saved_profile
2021-08-06 08:03:27 +00:00
Nils Tonnätt
2488e87fde
[CI] Update Meson
2021-08-06 07:56:16 +00:00
Nils Tonnätt
f7e1175ef0
[Meson] Fix all deprecation warnings
2021-08-06 07:56:16 +00:00
Nils Tonnätt
a5e3d3f7a7
[Meson] Change jack-devel option to be boolean
2021-08-06 07:56:16 +00:00
Nils Tonnätt
8dc8fb55f2
[Meson] Unescape pkgconf variable
2021-08-06 07:56:16 +00:00
Wim Taymans
8119e5cdb4
0.3.33
2021-08-05 16:19:43 +02:00
Wim Taymans
9229467f20
module-zeroconf: only free impl when not NULL
2021-08-05 15:49:38 +02:00
Wim Taymans
4be14c24f5
stream: improve latency param debug
2021-08-05 15:42:38 +02:00
Wim Taymans
874724877d
filter: handle NULL latency param
2021-08-05 15:42:23 +02:00
Wim Taymans
a9fecd50ed
bluez5: improve debug
...
Log the errno when something is wrong.
2021-08-05 15:41:50 +02:00
Wim Taymans
e3a643bffe
bluez5: remove useless pod_frame() call
2021-08-05 15:41:26 +02:00
Wim Taymans
83422ba62d
pulse-server: bump version to 15.0.0
2021-08-05 13:32:09 +02:00
Wim Taymans
dc6a81520d
media-session: always call va_end
2021-08-05 13:32:09 +02:00
Pauli Virtanen
76bae0cac4
media-session: add bluez-autoswitch module
...
Add module that switches bluez device profile to HFP/HSP if an input
stream (non-monitor, autoconnect) appears, and the current default
output device is bluez one that does not have input route.
When all input streams are gone, switch all changed profiles back.
Pending restore state is saved to session manager state files, in order
to restore it if e.g. devices get disconnected. This usually is not
currently necessary since the bluez5 plugin prefers to connect to A2DP
over HFP, but might matter in future with backchannel-enabled A2DP
codecs.
2021-08-05 11:27:06 +00:00
Peter Hutterer
127781cfc8
doc: ignore all function attributes in doxygen
2021-08-05 09:51:40 +00:00
Peter Hutterer
5e5bf5f340
doc: don't double up the pw_proxy_new() documentation
2021-08-05 09:51:40 +00:00
Peter Hutterer
5ae528c957
spa: move the log version define so it matches other implementations
...
Makes it match up with the comment now too
2021-08-05 09:51:40 +00:00
Peter Hutterer
1244229faf
spa: document the spa_hook interface with an example
2021-08-05 09:51:40 +00:00
Peter Hutterer
d8f6033b9d
spa: document the spa_interface and how it works
2021-08-05 09:51:40 +00:00
Peter Hutterer
56acf766a5
doc: split the spa_interfaces out as separate group from the spa_hooks
2021-08-05 09:51:40 +00:00
Peter Hutterer
1be939c672
doc: add a meson example to the tutorial
...
The vast majority of users will want to build with a build system, so
let's add a minimal example there to avoid guesswork.
2021-08-05 09:51:40 +00:00
Nils Tonnätt
761fa6f59d
meson: fix meson test without building pipewire before
...
This adds project internal dependencies to some tests to let all
tests succeed. It is not adding all dependencies those tests actually
need.
2021-08-04 20:38:30 +02:00
Wim Taymans
4841156b74
doc: clarify JSON usage
...
Mention that the config format can be pure JSON or with some
simplifications and additions.
2021-08-04 11:47:31 +02:00
Torkel Niklasson
02b4ccd782
src/pipewire/impl-node.c: Change client err/warn logs to infos
...
xrun, client too slow and that the client missed wakeups is not a
critical issue for us, so we patch them to be infos instead of
warnings and errors.
2021-08-04 09:37:29 +00:00
Peter Hutterer
f0baffbc84
doc: ignore SPA_EXPORT and SPA_PRINTF_FUNC
...
This caused doxygen to include a rather random assortment of variables
and link to them from various pages (e.g. "arg", "res", "buffer", NAME,
etc.)
2021-08-04 07:49:53 +00:00
Peter Hutterer
3ced15ad22
doc: some extra docs for the core objects
2021-08-04 07:49:53 +00:00
Peter Hutterer
5561531751
doc: document the core/implementation API split a bit better
...
Still missing a proper review of the linked objects, but at least this
now explains why those two are split.
2021-08-04 07:49:53 +00:00
Peter Hutterer
3370a56e3e
doc: move the error reporting blurb to the library page
...
Let's keep the daemon page higher-level and leave API behaviors
elsewhere.
2021-08-04 07:49:53 +00:00
Peter Hutterer
710caf9d75
doc: fix a subsection name
2021-08-04 07:49:53 +00:00
Peter Hutterer
4c760e473d
doc: add a nice graph to illustrate how the daemon a bit
2021-08-04 07:49:53 +00:00
Peter Hutterer
13ffc549c9
doc: add basic docs for the session manager
2021-08-04 07:49:53 +00:00
Peter Hutterer
d0060fbddd
test: move the client and utils tests over here
2021-08-04 07:45:06 +00:00
Peter Hutterer
99a10c1606
protocol: assert if the loop initialization fails on the connection test
...
This test needs an environment set up to load everything correctly,
running it directly results in a segfault. Let's make sure we assert on
a NULL loop to make this look slightly more planned.
2021-08-04 15:43:10 +10:00
Wim Taymans
c6dc7e98fd
dbus: protect against NULL data
...
Make sure we don't accidentally unref a NULL data.
2021-08-03 19:11:15 +02:00
Daniel Stone
bf112940d0
spa: Only test __cplusplus value when it's defined
...
In higher warning levels, clang complains about testing the value of
__cplusplus when it's not defined.
2021-08-03 15:43:59 +00:00
Wim Taymans
99359c3998
jack: use port_set_mix_info
...
Use the port_set_mix_info event to get the id of the peer port for the
mixer input.
When asked for the buffer of one of those peer ports, we can get it from
the mixer input buffers.
Fixes #1471
2021-08-03 17:39:14 +02:00
Wim Taymans
bba8c5daa3
client-node: add port_set_mix_info
...
Add a new client-node port_set_mix_info event. bump the interface
version to 4 and the event version to 1.
The event is used to send information about the peer object to the
port mixer. This can be used to track what buffers belong to what
peer.
2021-08-03 17:36:11 +02:00
Wim Taymans
62f8ffcfb2
impl-link: put the peer_id in the mix
...
Place the global id of the peer port in the mix so that we can track
the peer object that way.
2021-08-03 17:33:49 +02:00
Wim Taymans
f4048ae663
protocol-native: fix marshal of add_port
...
We need to terminate the arguments with NULL.
2021-08-03 17:30:08 +02:00
Wim Taymans
edfa210656
protocol: also return marshal with higher version
...
The marshaller needs to be of the requested version or newer.
2021-08-03 17:28:01 +02:00
Wim Taymans
d25bb0e20f
impl-link: reset state in INIT
...
When the link state goes back to init, clear any pending operations and
reset our state.
2021-08-02 18:03:26 +02:00
Wim Taymans
da8f835de3
context: after suspend, reevaluate the graph
...
Reevaluate the graph again after we potentially suspend because of a
rate change because links might become unprepared and need to be
prepared again before the node becomes active.
2021-08-02 17:31:01 +02:00
Wim Taymans
48f7218d03
context: improve debug
2021-08-02 17:30:40 +02:00
Wim Taymans
57cbd2e963
impl-link: handle port states going backwards
...
When the port state goes backwards (like when suspended) update
the link state accordingly.
2021-08-02 17:28:16 +02:00
Wim Taymans
7d9dde0a1d
loopback: pass all latency to the other stream
...
Latency configured on one streams needs to be passed directly to the
other stream.
2021-08-02 11:46:53 +02:00
Wim Taymans
f71529cbaf
context: add missing link prepare
...
It got removed accidentally in a previous commit, breaking some of the
loopback devices.
Fixes #1472
2021-08-02 10:48:42 +02:00
Peter Hutterer
fc85b33e80
doc: drop the header priority in media-session.dox
...
This way the two subheaders won't show up in the sidebar
2021-08-02 08:27:51 +00:00