crap/generate-ladspa

19 lines
344 B
Text
Raw Normal View History

#!/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"