mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-11-05 16:26:16 +00:00
f41720e7db
Add a new PortConfig parameter to configure ports of elements that are marked with the SPA_NODE_FLAG_*_PORT_CONFIG. This is used to configure the operation of the audioconver/audioadapter nodes and how it should convert the internal format. We want to use the Profile parameter only for cases where there is an enumeration of values, like with device configuration. Add unit tests for audioconvert and adapter to check if they handle PortConfig correctly. Make the media session use the PortConfig to dynamically configure the device nodes. Remove audio-dsp, it is not used anymore and can/should be implemented with a simple audioconvert spa node now and some PortConfig.
58 lines
1.2 KiB
Makefile
58 lines
1.2 KiB
Makefile
all:
|
|
ninja -C build
|
|
|
|
install:
|
|
ninja -C build install
|
|
|
|
uninstall:
|
|
ninja -C build uninstall
|
|
|
|
clean:
|
|
ninja -C build clean
|
|
|
|
run: all
|
|
SPA_PLUGIN_DIR=build/spa/plugins \
|
|
PIPEWIRE_MODULE_DIR=build \
|
|
PIPEWIRE_CONFIG_FILE=build/src/daemon/pipewire.conf \
|
|
$(DBG) ./build/src/daemon/pipewire
|
|
|
|
gdb:
|
|
$(MAKE) run DBG=gdb
|
|
|
|
valgrind:
|
|
$(MAKE) run DBG="DISABLE_RTKIT=1 valgrind"
|
|
|
|
test: all
|
|
ninja -C build test
|
|
|
|
benchmark: all
|
|
ninja -C build benchmark
|
|
|
|
monitor: all
|
|
SPA_PLUGIN_DIR=build/spa/plugins \
|
|
PIPEWIRE_MODULE_DIR=build/src/modules/ \
|
|
build/src/tools/pipewire-monitor
|
|
|
|
cli: all
|
|
SPA_PLUGIN_DIR=build/spa/plugins \
|
|
PIPEWIRE_MODULE_DIR=build/src/modules/ \
|
|
build/src/tools/pipewire-cli
|
|
|
|
shell: all
|
|
ninja -C build uninstalled
|
|
|
|
dist: all
|
|
git archive --prefix=pipewire-@VERSION@/ -o pipewire-@VERSION@.tar.gz @TAG@
|
|
|
|
rpm: dist
|
|
rpmbuild -ta pipewire-@VERSION@.tar.gz
|
|
|
|
publish: all
|
|
git branch -D gh-pages 2>/dev/null || true && \
|
|
git branch -D draft 2>/dev/null || true && \
|
|
git checkout -b draft && \
|
|
git add -f build/doc/html && \
|
|
git commit -anm "Deploy on gh-pages" && \
|
|
git subtree split --prefix build/doc/html -b gh-pages && \
|
|
git push --force origin gh-pages:gh-pages && \
|
|
git checkout work 2>/dev/null
|