Changeset 7177

Show
Ignore:
Timestamp:
10/29/08 10:51:38 (2 years ago)
Author:
p_lindheimer
Message:

Auto Check-in of any outstanding patches

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/music/page.music.php

    r7004 r7177  
    211211                        //asdf 
    212212                        $soxcmd = "sox \"".substr($origmohfile,0,strrpos($origmohfile,".")).".wav\""; 
     213                        $soxcmd .= " -r 8000 -c 1 \"".$newmohfile."\""; 
    213214                        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 "; 
    218218                        exec($soxcmd.$soxresample."2>&1", $output, $returncode); 
    219219                        if ($returncode != 0) {