propresenter-php/php/generated/Rv/Data/DigitalAudio/Device/Channel.php
2026-03-01 16:12:17 +01:00

168 lines
3.8 KiB
PHP

<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: digitalAudio.proto
namespace Rv\Data\DigitalAudio\Device;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>rv.data.DigitalAudio.Device.Channel</code>
*/
class Channel extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field <code>bool mute_enable = 1;</code>
*/
protected $mute_enable = false;
/**
* Generated from protobuf field <code>bool solo_enable = 2;</code>
*/
protected $solo_enable = false;
/**
* Generated from protobuf field <code>bool tone_enable = 3;</code>
*/
protected $tone_enable = false;
/**
* Generated from protobuf field <code>double audio_delay = 4;</code>
*/
protected $audio_delay = 0.0;
/**
* Generated from protobuf field <code>double level = 5;</code>
*/
protected $level = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type bool $mute_enable
* @type bool $solo_enable
* @type bool $tone_enable
* @type float $audio_delay
* @type float $level
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\DigitalAudio::initOnce();
parent::__construct($data);
}
/**
* Generated from protobuf field <code>bool mute_enable = 1;</code>
* @return bool
*/
public function getMuteEnable()
{
return $this->mute_enable;
}
/**
* Generated from protobuf field <code>bool mute_enable = 1;</code>
* @param bool $var
* @return $this
*/
public function setMuteEnable($var)
{
GPBUtil::checkBool($var);
$this->mute_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool solo_enable = 2;</code>
* @return bool
*/
public function getSoloEnable()
{
return $this->solo_enable;
}
/**
* Generated from protobuf field <code>bool solo_enable = 2;</code>
* @param bool $var
* @return $this
*/
public function setSoloEnable($var)
{
GPBUtil::checkBool($var);
$this->solo_enable = $var;
return $this;
}
/**
* Generated from protobuf field <code>bool tone_enable = 3;</code>
* @return bool
*/
public function getToneEnable()
{
return $this->tone_enable;
}
/**
* Generated from protobuf field <code>bool tone_enable = 3;</code>
* @param bool $var
* @return $this
*/
public function setToneEnable($var)
{
GPBUtil::checkBool($var);
$this->tone_enable = $var;
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 level = 5;</code>
* @return float
*/
public function getLevel()
{
return $this->level;
}
/**
* Generated from protobuf field <code>double level = 5;</code>
* @param float $var
* @return $this
*/
public function setLevel($var)
{
GPBUtil::checkDouble($var);
$this->level = $var;
return $this;
}
}