crap/generate-ladspa
2013-11-17 22:38:22 -08:00

18 lines
344 B
Bash
Executable file

#!/usr/bin/env bash
. common.sh
(cat template-ladspa.c | while read -r; do
case "$REPLY" in
'//#INCLUDE') echo "$pp_include" ;;
# unimplemented
'//#PORT_DESCRIPTIONS') :;;
'//#PORT_HINTS') :;;
'//#PORT_NAMES') :;;
'//#PORT_DATA') :;;
'//#PORT_CONNECT') :;;
*) echo -E "$REPLY" ;;
esac
done) > "$out"