# HG changeset patch # User Matti Hamalainen # Date 1447956326 -7200 # Node ID 8f242f756b0b81dcb7dfab4ad0e364093c63f2ed # Parent 0603012e99b7196f37782a2b39f51a6c8937eb36 Add new configuration setting "openmpt123ExtraArgs". diff -r 0603012e99b7 -r 8f242f756b0b faptool.php --- a/faptool.php Thu Nov 19 17:47:17 2015 +0200 +++ b/faptool.php Thu Nov 19 20:05:26 2015 +0200 @@ -98,6 +98,7 @@ "--samplerate ".$sfreq." ". "--channels ".$schannels." ". "--end-time ".($sduration)." ". + stGetSetting("openmpt123ExtraArgs"). escapeshellarg($inFilename)." -o ".escapeshellarg($outFilename), 0); } diff -r 0603012e99b7 -r 8f242f756b0b mconfig.inc.php.example --- a/mconfig.inc.php.example Thu Nov 19 17:47:17 2015 +0200 +++ b/mconfig.inc.php.example Thu Nov 19 20:05:26 2015 +0200 @@ -58,6 +58,8 @@ "sampleChannels" => 1, // 1 = mono, 2 = stereo "sampleDuration" => 30, // in seconds + "openmpt123ExtraArgs" => "", // Extra commandline arguments for openmpt123 + // Samples to be generated, and their avconv settings "sampleTypes" => array( "OggVorbis" => array("-f" => "ogg", "-c:a" => "libvorbis", "-q:a" => 5),