Mercurial > hg > fapweb
changeset 1028:8f242f756b0b
Add new configuration setting "openmpt123ExtraArgs".
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 19 Nov 2015 20:05:26 +0200 |
parents | 0603012e99b7 |
children | 35a00a986f79 |
files | faptool.php mconfig.inc.php.example |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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); }
--- 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),