Then in config.inc.php add nice to the encoder command:
Code: Select all
$cfg['stream_encode'] = 'nice --adjustment=19 D:\bin\codec\oggenc.exe --quiet --raw --raw-bits=%bits_per_sample --raw-chan=%channels --raw-rate=%sample_rate --title=%title --artist=%artist --quality 0 -';
Code: Select all
@passthru('nice --adjustment=19 ' . $cmd);