send control now has working metering, and switches back and forth between busses...
[ardour.git] / gtk2_ardour / arprof
index 984866a99b2952e53458498cc642547205e687c4..47c11cdb992a11ebd951521512599347b5deb533 100755 (executable)
@@ -5,5 +5,5 @@ if [ gprofhelper.c -nt gprofhelper.so ] ; then
     gcc -shared -nostdlib -fPIC gprofhelper.c -o gprofhelper.so -lpthread -ldl || exit 1
 fi
 
-export LD_LIBRARY_PATH=../libs/ardour/.libs
-LDPRELOAD=./gprofhelper.so ./ardour $*
+. ardev_common.sh
+LDPRELOAD=./gprofhelper.so $EXECUTABLE "$@"