Add a sample config file and a Makefile to make running (for testing) easier

This commit is contained in:
George Kiagiadakis
2019-05-17 13:34:33 +03:00
parent 447c968846
commit 0506f53149
3 changed files with 29 additions and 0 deletions

View File

@@ -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
View 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
View 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