]>
Commit | Line | Data |
---|---|---|
71cf3a54 | 1 | --- sox-12.17/play.orig Sat Oct 21 12:39:28 2000 |
2 | +++ sox-12.17/play Sat Oct 21 12:44:00 2000 | |
3 | @@ -156,31 +156,10 @@ | |
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 | - ;; | |
31 | -esac | |
32 | +arch_defines="-t ossdsp" | |
33 | +if [ -z "$device" ]; then | |
34 | + device="/dev/dsp" | |
35 | +fi | |
00aa9e83 | 36 | |
71cf3a54 | 37 | # If name is "rec" then record else assume user is wanting to play |
38 | # a sound file. |