public function writeOpus($opus)
    {
        if ($this->isClosed) {
            return;
        }

        if ($this->isPaused) {
            $this->opusPauseBuffer[] = $opus;

            return;
        }

        $this->opusData .= $opus;

        $this->emit('opus', [$opus]);
    }
public function writeOpus($opus)
    {
        if ($this->isClosed) {
            return;
        }

        if ($this->isPaused) {
            $this->opusPauseBuffer[] = $opus;

            return;
        }

        $this->opusData .= $opus;

        $this->emit('opus', [$opus]);
    }
public function writeOpus ( $ opus ) { if ( $ this -> isClosed ) { return ; } if ( $ this -> isPaused ) { $ this -> opusPauseBuffer [ ] = $ opus ; return ; } $ this -> opusData .= $ opus ; $ this -> emit ( 'opus' , [ $ opus ] ) ; }
Writes Opus audio data.

@param string $opus Opus audio data.

@return void
Writes Opus audio data .