Changeset 7177 for modules/branches/2.6
- Timestamp:
- 10/29/08 13:51:38 (5 years ago)
- Files:
-
- modules/branches/2.6/music/page.music.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.6/music/page.music.php
r7004 r7177 211 211 //asdf 212 212 $soxcmd = "sox \"".substr($origmohfile,0,strrpos($origmohfile,".")).".wav\""; 213 $soxcmd .= " -r 8000 -c 1 \"".$newmohfile."\""; 213 214 if($volume){ 214 $soxcmd .= " -v ".$volume; 215 } 216 $soxcmd .= " -r 8000 -c 1 \"".$newmohfile."\" "; 217 $soxresample = "resample -ql "; 215 $soxcmd .= " vol ".$volume; 216 } 217 $soxresample = " resample -ql "; 218 218 exec($soxcmd.$soxresample."2>&1", $output, $returncode); 219 219 if ($returncode != 0) {
