propresenter-php/generated/Rv/Data/Audio/OutputSetup.php
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

215 lines
5.7 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: audio.proto
namespace Rv\Data\Audio;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.Audio.OutputSetup</code>
*/
class OutputSetup extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
*/
protected $uuid = null;
/**
* Generated from protobuf field <code>.rv.data.Audio.Device audio_device = 2;</code>
*/
protected $audio_device = null;
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.LogicalChannel logical_channels = 3;</code>
*/
private $logical_channels;
/**
* Generated from protobuf field <code>double audio_delay = 4;</code>
*/
protected $audio_delay = 0.0;
/**
* Generated from protobuf field <code>double master_level = 5;</code>
*/
protected $master_level = 0.0;
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6;</code>
*/
private $physical_chanels;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Rv\Data\UUID $uuid
* @type \Rv\Data\Audio\Device $audio_device
* @type array<\Rv\Data\Audio\LogicalChannel>|\Google\Protobuf\Internal\RepeatedField $logical_channels
* @type float $audio_delay
* @type float $master_level
* @type array<\Rv\Data\Audio\PhysicalChannel>|\Google\Protobuf\Internal\RepeatedField $physical_chanels
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Audio::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
* @return \Rv\Data\UUID|null
*/
public function getUuid()
{
return $this->uuid;
}
public function hasUuid()
{
return isset($this->uuid);
}
public function clearUuid()
{
unset($this->uuid);
}
/**
* Generated from protobuf field <code>.rv.data.UUID uuid = 1;</code>
* @param \Rv\Data\UUID $var
* @return $this
*/
public function setUuid($var)
{
GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
$this->uuid = $var;
return $this;
}
/**
* Generated from protobuf field <code>.rv.data.Audio.Device audio_device = 2;</code>
* @return \Rv\Data\Audio\Device|null
*/
public function getAudioDevice()
{
return $this->audio_device;
}
public function hasAudioDevice()
{
return isset($this->audio_device);
}
public function clearAudioDevice()
{
unset($this->audio_device);
}
/**
* Generated from protobuf field <code>.rv.data.Audio.Device audio_device = 2;</code>
* @param \Rv\Data\Audio\Device $var
* @return $this
*/
public function setAudioDevice($var)
{
GPBUtil::checkMessage($var, \Rv\Data\Audio\Device::class);
$this->audio_device = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.LogicalChannel logical_channels = 3;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getLogicalChannels()
{
return $this->logical_channels;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.LogicalChannel logical_channels = 3;</code>
* @param array<\Rv\Data\Audio\LogicalChannel>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setLogicalChannels($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Audio\LogicalChannel::class);
$this->logical_channels = $arr;
return $this;
}
/**
* Generated from protobuf field <code>double audio_delay = 4;</code>
* @return float
*/
public function getAudioDelay()
{
return $this->audio_delay;
}
/**
* Generated from protobuf field <code>double audio_delay = 4;</code>
* @param float $var
* @return $this
*/
public function setAudioDelay($var)
{
GPBUtil::checkDouble($var);
$this->audio_delay = $var;
return $this;
}
/**
* Generated from protobuf field <code>double master_level = 5;</code>
* @return float
*/
public function getMasterLevel()
{
return $this->master_level;
}
/**
* Generated from protobuf field <code>double master_level = 5;</code>
* @param float $var
* @return $this
*/
public function setMasterLevel($var)
{
GPBUtil::checkDouble($var);
$this->master_level = $var;
return $this;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6;</code>
* @return \Google\Protobuf\Internal\RepeatedField
*/
public function getPhysicalChanels()
{
return $this->physical_chanels;
}
/**
* Generated from protobuf field <code>repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6;</code>
* @param array<\Rv\Data\Audio\PhysicalChannel>|\Google\Protobuf\Internal\RepeatedField $var
* @return $this
*/
public function setPhysicalChanels($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\Audio\PhysicalChannel::class);
$this->physical_chanels = $arr;
return $this;
}
}