public function useLineIn(SpeakerInterface $speaker = null): ControllerInterface
    {
        if ($speaker === null) {
            $speaker = $this;
        }

        $uri = "x-rincon-stream:" . $speaker->getUuid();
        $stream = new Stream($uri, "Line-In");

        return $this->useStream($stream);
    }
public function useLineIn(SpeakerInterface $speaker = null): ControllerInterface
    {
        if ($speaker === null) {
            $speaker = $this;
        }

        $uri = "x-rincon-stream:" . $speaker->getUuid();
        $stream = new Stream($uri, "Line-In");

        return $this->useStream($stream);
    }
public function useLineIn ( SpeakerInterface $ speaker = null ) : ControllerInterface { if ( $ speaker === null ) { $ speaker = $ this ; } $ uri = "x-rincon-stream:" . $ speaker -> getUuid ( ) ; $ stream = new Stream ( $ uri , "Line-In" ) ; return $ this -> useStream ( $ stream ) ; }
Play a line-in from a speaker.

If no speaker is passed then the current controller's is used.

@param SpeakerInterface|null $speaker The speaker to get the line-in from

@return static
Play a line - in from a speaker .