Add a sample config file and a Makefile to make running (for testing) easier
This commit is contained in:
@@ -6,3 +6,7 @@ indent_size = 2
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 8
|
||||
|
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
all:
|
||||
ninja -C build
|
||||
|
||||
install:
|
||||
ninja -C build install
|
||||
|
||||
uninstall:
|
||||
ninja -C build uninstall
|
||||
|
||||
clean:
|
||||
ninja -C build clean
|
||||
|
||||
run: all
|
||||
WIREPLUMBER_MODULE_DIR=build/modules \
|
||||
WIREPLUMBER_CONFIG_FILE=src/wireplumber.conf \
|
||||
$(DBG) ./build/src/wireplumber
|
||||
|
||||
gdb:
|
||||
$(MAKE) run DBG=gdb
|
||||
|
||||
valgrind:
|
||||
$(MAKE) run DBG="DISABLE_RTKIT=1 valgrind"
|
3
src/wireplumber.conf
Normal file
3
src/wireplumber.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
load-module C libwireplumber-module-pipewire
|
||||
load-module C libwireplumber-module-pw-audio-softdsp-endpoint
|
||||
load-module C libwireplumber-module-pw-alsa-udev
|
Reference in New Issue
Block a user