Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
946B

  1. #!/bin/bash
  2. export CARLA_VALGRIND_TEST=1
  3. export WINEDEBUG=-all
  4. # export CARLA_DEV=1
  5. # export PYTHONMALLOC=malloc
  6. # export SKIP_STRIPPING=true
  7. valgrind \
  8. --tool=memcheck \
  9. --leak-check=full \
  10. --show-leak-kinds=all \
  11. --track-origins=yes \
  12. --gen-suppressions=all \
  13. --suppressions=./data/valgrind.supp \
  14. -- ./bin/carla-bridge-native internal "" carlapatchbay &
  15. PID=$!
  16. while true; do
  17. if jack_lsp | grep -q Carla-Patchbay:output_1; then
  18. jack_connect Carla-Patchbay:output_2 system:playback_2
  19. jack_connect Carla-Patchbay:output_1 system:playback_1
  20. # jack_connect Carla-Patchbay:events-out "a2j:ZynAddSubFX [129] (playback): ZynAddSubFX"
  21. break
  22. else
  23. sleep 1
  24. fi
  25. done
  26. wait ${PID}
  27. # export PYTHONMALLOC=malloc
  28. # valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --gen-suppressions=all --suppressions=./data/valgrind.supp python3 ./source/frontend/carla