Wim Taymans
27dbbd40c9
tools: improve indentation
2024-02-09 10:24:34 +01:00
Pauli Virtanen
b12119da28
pw-reserve: require valid name + check rd_reserve_new errors
...
Empty name in rd_device_new triggers assert inside DBus, so bail out
before that.
2023-11-28 10:26:43 +00:00
Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Wim Taymans
e099f0598a
pw-reserver: improve output a little
2023-01-09 11:49:10 +01:00
Wim Taymans
6ad6300ec6
pw-reserver: add a -r option to RequestRelease
...
When we try to acquire a Device and things are busy, try to
RequestRelease the device if the -r option is given.
2022-04-08 12:12:58 +02:00
Pauli Virtanen
c66bb65c7a
pipewire: don't setlocale from pw_init, let parent app set it
...
Library code generally shouldn't modify global state, so pw_init()
should not result to changing the C locale.
Instead, set the C locale in main() for tools and daemons.
We'll still setlocale for LC_MESSAGES, to get translated UI elements in
wireplumber. This workaround should be removed eventually...
2022-03-22 21:32:35 +02:00
Wim Taymans
afc88a12e5
tools: cleanup up printf
...
Make all tools output to stdout (pw-mon mostly) so that we can pipe the
output around.
Send errors to stderr.
fprintf(stdout, ...) -> printf(...)
setlinebuf for stdout so that pipe works better.
See #2110
2022-02-07 17:03:46 +01:00
Peter Hutterer
b78371f702
tools: update pw-reserve so don't need to include the c file
2021-10-18 20:44:11 +10:00
Peter Hutterer
1bced6b2ef
Remove media-session from this tree
...
It is now available as a separate project in
https://gitlab.freedesktop.org/pipewire/media-session
The code required by pw-reservice has moved to src/tools/reserve.{c|h}
2021-10-18 20:44:07 +10:00
Wim Taymans
f275e3baaa
jack: add jack log topic
2021-10-03 08:52:27 +02:00
Peter Hutterer
e46a30562f
Promote media-session to its own subdirectory
...
media-session is past the point of being a mere example, let's promote
it out of the subdirectory.
pw-reserve is moved to tools/
2021-09-22 08:53:08 +02:00