/usr/lib/roaraudio/compbins/padsp is in libroar-compat1 0.4-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #!/bin/sh
_args='';
while [ -n "$1" ]
do
k="$1";
shift;
case "$k" in
'--')
break;
;;
'-h')
cat <<__AST2ROAR__END_OF_HELP_TEXT__
padsp.r - redirect OSS audio devices to RoarAudio
padsp.r [options] application [arguments]
options:
-h show brief help
-s <host>[:<port>] contact a specific RoarAudio server
-n <name> client name to report to the server
__AST2ROAR__END_OF_HELP_TEXT__
exit 0;
;;
'-s')
export ROAR_SERVER="$1"
shift;
;;
'-s='*)
_para=`echo "$k" | cut -d= -f2`;
export ROAR_SERVER="$_para"
;;
'-n')
export ROAR_OSS_CLIENT_NAME="$1"
shift;
;;
'-n='*)
_para=`echo "$k" | cut -d= -f2`;
export ROAR_OSS_CLIENT_NAME="$_para"
;;
'-'*)
echo "Unknown option" >&2;
exit 1;
;;
*)
_args="$_args $k";
break;
;;
esac;
done
_args="$_args $*";
exec $_args
#ll
|