]> git.pld-linux.org Git - packages/sox.git/blame - sox-play.patch
- use new %%doc
[packages/sox.git] / sox-play.patch
CommitLineData
9a7cf890 1--- sox-12.17.3/play.in.orig Sat Jan 19 21:12:49 2002
2+++ sox-12.17.3/play.in Sat Jan 19 21:14:47 2002
3@@ -156,37 +156,10 @@
71cf3a54 4 shift
00aa9e83
JR
5 done
6
7-arch=`uname -s`
71cf3a54 8-case $arch in
9- SunOS)
10- case `uname -r` in
11- # Solaris software can auto-detect hardware capabilities.
12- 5.*)
13- arch_defines="-t sunau"
14- ;;
15- # For SunOS default to signed words. Some hardware can only play u-law and would need
16- # to be changed here.
17- *)
18- arch_defines="-t sunau -w -s"
19- ;;
20- esac
21- if [ -z "$device" ]; then
22- device="/dev/audio"
23- fi
24- ;;
25- Linux|FreeBSD)
26- arch_defines="-t ossdsp"
27- if [ -z "$device" ]; then
28- device="/dev/dsp"
29- fi
30- ;;
9a7cf890 31- NetBSD)
32- arch_defines="-t sunau"
33- if [ -z "$device" ]; then
34- device="/dev/audio"
35- fi
36- ;;
71cf3a54 37-esac
38+arch_defines="-t ossdsp"
39+if [ -z "$device" ]; then
40+ device="/dev/dsp"
41+fi
00aa9e83 42
71cf3a54 43 # If name is "rec" then record else assume user is wanting to play
44 # a sound file.
This page took 0.098581 seconds and 4 git commands to generate.