mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
modules: Rename module-rtkit to module-rt
I don't think PipeWire currently has a way to temporarily alias module-rtkit to module-rt though, so right now this would break realtime scheduling for people with modified configs that use module-rtkit.
This commit is contained in:
parent
6fc966f385
commit
2b73c86af5
15 changed files with 24 additions and 25 deletions
|
|
@ -20,7 +20,7 @@ module_sources = [
|
|||
'module-protocol-pulse.c',
|
||||
'module-protocol-simple.c',
|
||||
'module-pulse-tunnel.c',
|
||||
'module-rtkit.c',
|
||||
'module-rt.c',
|
||||
'module-raop-discover.c',
|
||||
'module-session-manager.c',
|
||||
'module-zeroconf-discover.c',
|
||||
|
|
@ -136,9 +136,9 @@ pipewire_module_profiler = shared_library('pipewire-module-profiler',
|
|||
dependencies : [spa_dep, mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
|
||||
build_module_rtkit = dbus_dep.found()
|
||||
if build_module_rtkit
|
||||
pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rtkit.c' ],
|
||||
build_module_rt = dbus_dep.found()
|
||||
if build_module_rt
|
||||
pipewire_module_rt = shared_library('pipewire-module-rt', [ 'module-rt.c' ],
|
||||
include_directories : [configinc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
|
|
@ -146,7 +146,7 @@ pipewire_module_rtkit = shared_library('pipewire-module-rtkit', [ 'module-rtkit.
|
|||
dependencies : [dbus_dep, mathlib, dl_lib, pipewire_dep],
|
||||
)
|
||||
endif
|
||||
summary({'rtkit': build_module_rtkit}, bool_yn: true, section: 'Optional Modules')
|
||||
summary({'rt': build_module_rt}, bool_yn: true, section: 'Optional Modules')
|
||||
|
||||
build_module_portal = dbus_dep.found()
|
||||
if build_module_portal
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@
|
|||
#include <pipewire/impl.h>
|
||||
#include <pipewire/thread.h>
|
||||
|
||||
/** \page page_module_rtkit PipeWire Module: RTKit
|
||||
/** \page page_module_rt PipeWire Module: RT
|
||||
*
|
||||
* The `rtkit` module uses the operating system's scheduler to enable realtime
|
||||
* The `rt` module uses the operating system's scheduler to enable realtime
|
||||
* scheduling for certain threads to assist with low latency audio processing.
|
||||
* This requires `RLIMIT_RTPRIO` to be set to a value that's equal to this
|
||||
* module's `rt.prio` parameter or higher. Most distros will come with some
|
||||
|
|
@ -55,8 +55,7 @@
|
|||
* up and DBus is available, then this module will fall back to using RTKit.
|
||||
*/
|
||||
|
||||
// TODO: Rename from rtkit/RTKit to rt/RT
|
||||
#define NAME "rtkit"
|
||||
#define NAME "rt"
|
||||
|
||||
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
Loading…
Add table
Add a link
Reference in a new issue