Bug 11275

Summary: /usr/bin/rec does not work
Product: [Retired] Red Hat Linux Reporter: horms
Component: soxAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-07 07:47:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description horms 2000-05-07 07:47:42 UTC
There is a slight bug in /usr/bin/rec (a symlink) to /usr/bin/play
that causes rec to fail if any (valid) arguments other than the
file to record to are given. A patch follows.

--- play.orig   Sun May  7 00:35:20 2000
+++ play        Sun May  7 00:35:40 2000
@@ -185,7 +185,7 @@
 # a sound file.
 if [ "$program_name" = "rec" ]; then
     echo "Send break (control-c) to end recording"
-    sox $volume $arch_defines $fopts $device "$filename" $effects
+    sox $volume $arch_defines $device $fopts "$filename" $effects
 else
     sox $volume $fopts "$filename" $arch_defines $device $effects
 fi

Comment 1 Bill Nottingham 2000-06-10 23:23:55 UTC
Fixed in sox-12.16-8; thanks for the bug report and the fix!