/** * Executa comandos interativos ao mplayer * * @access private * @name __command * @param string $command Comando à ser executado no mplayer */ private function __command($command) { // Verifica se o pipe foi criado if ($this->pipe != NULL) { // Escreve no pipe $this->pipe->write($command . "\n"); $this->pipe->flush(); } }
public function __construct($command, $options = array()) { parent::__construct(); $this->command = $command; $this->options = $options; }