guess_audio

来自「speech signal process tools」· 代码 · 共 62 行

TXT
62
字号
#! /bin/sh# @(#)guess_audio	1.2 3/16/92 ERL#link in the right play program based on what devices we see#the argument $1 to this script is the directory in which the link#can be put (which of course should be on the path) ebin=`get_esps_base`/bindbin=$1arch=`$ebin/mach_type`#no_play - the default    rm -f $dbin/play    ln -s bin/null_play $dbin/playif test $arch = "SUN4"then#Ariel S-Bus board on a sparcstation	if test -c /dev/s32c0 	then	    rm -f $dbin/play	    ln -s $ebin/s32cplay $dbin/play	    exit	fi#AT&T Fab2 board or Surf	if test -c /dev/dsp3 -o -c /dev/dc0	then	    rm -f $dbin/play	    ln -s $ebin/wplay $dbin/play	    exit	fi#Sparcstation codec	if test -c /dev/audio 	then	    rm -f $dbin/play	    ln -s $ebin/splay $dbin/play	    exit	fifiif test $arch = "SG"then#SGI Indigo workstation with built-in I/O	if test -c /dev/hdsp/hdsp0master 	then	    rm -f $dbin/play	    ln -s $ebin/sgplay $dbin/play	    exit	fifi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?