]> git.pld-linux.org Git - packages/sox.git/blob - sox-play.patch
- spelling fixes
[packages/sox.git] / sox-play.patch
1 --- sox-12.17.6/src/play.in.orig        Sat Jan 19 21:12:49 2002
2 +++ sox-12.17.6/src/play.in     Sat Jan 19 21:14:47 2002
3 @@ -156,37 +156,10 @@
4      shift
5  done
6  
7 -arch=`uname -s`
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 -  NetBSD)
32 -    arch_defines="-t sunau"
33 -    if [ -z "$device" ]; then
34 -        device="/dev/audio"
35 -    fi
36 -    ;;
37 -esac
38 +arch_defines="-t ossdsp"
39 +if [ -z "$device" ]; then
40 +    device="/dev/dsp"
41 +fi
42  
43  # If name is "rec" then record else assume user is wanting to play
44  # a sound file.
This page took 0.042718 seconds and 3 git commands to generate.