PHP 8.4 library and CLI tools to read, modify, and generate ProPresenter 7 files: songs (.pro), playlists (.proplaylist), bundles (.probundle), themes, and the global library files (Macros, Labels, Groups, ClearGroups, CCLI, Messages, Timers, Stage, Workspace, Props, TestPatterns, Calendar, KeyMappings, CommunicationDevices). Built on the MIT-licensed ProPresenter7-Proto schema by greyshirtguy (v7.16.2). Includes 18 CLI parsers, comprehensive API docs in doc/, binary-format specs, and a synthetic 369-test PHPUnit suite covering RTF extraction, translation slides, ZIP64 repair, round-trip fidelity, and end-to-end generation.
134 lines
3.3 KiB
PHP
134 lines
3.3 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.SettingsDocument</code>
|
|
*/
|
|
class SettingsDocument extends \Google\Protobuf\Internal\Message
|
|
{
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
*/
|
|
protected $output_setup = null;
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
*/
|
|
protected $monitor_device = null;
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
*/
|
|
protected $monitor_on_mains = false;
|
|
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param array $data {
|
|
* Optional. Data for populating the Message object.
|
|
*
|
|
* @type \Rv\Data\Audio\OutputSetup $output_setup
|
|
* @type \Rv\Data\Audio\Device $monitor_device
|
|
* @type bool $monitor_on_mains
|
|
* }
|
|
*/
|
|
public function __construct($data = NULL) {
|
|
\GPBMetadata\Audio::initOnce();
|
|
parent::__construct($data);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
* @return \Rv\Data\Audio\OutputSetup|null
|
|
*/
|
|
public function getOutputSetup()
|
|
{
|
|
return $this->output_setup;
|
|
}
|
|
|
|
public function hasOutputSetup()
|
|
{
|
|
return isset($this->output_setup);
|
|
}
|
|
|
|
public function clearOutputSetup()
|
|
{
|
|
unset($this->output_setup);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.OutputSetup output_setup = 1;</code>
|
|
* @param \Rv\Data\Audio\OutputSetup $var
|
|
* @return $this
|
|
*/
|
|
public function setOutputSetup($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Audio\OutputSetup::class);
|
|
$this->output_setup = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
* @return \Rv\Data\Audio\Device|null
|
|
*/
|
|
public function getMonitorDevice()
|
|
{
|
|
return $this->monitor_device;
|
|
}
|
|
|
|
public function hasMonitorDevice()
|
|
{
|
|
return isset($this->monitor_device);
|
|
}
|
|
|
|
public function clearMonitorDevice()
|
|
{
|
|
unset($this->monitor_device);
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>.rv.data.Audio.Device monitor_device = 2;</code>
|
|
* @param \Rv\Data\Audio\Device $var
|
|
* @return $this
|
|
*/
|
|
public function setMonitorDevice($var)
|
|
{
|
|
GPBUtil::checkMessage($var, \Rv\Data\Audio\Device::class);
|
|
$this->monitor_device = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
* @return bool
|
|
*/
|
|
public function getMonitorOnMains()
|
|
{
|
|
return $this->monitor_on_mains;
|
|
}
|
|
|
|
/**
|
|
* Generated from protobuf field <code>bool monitor_on_mains = 3;</code>
|
|
* @param bool $var
|
|
* @return $this
|
|
*/
|
|
public function setMonitorOnMains($var)
|
|
{
|
|
GPBUtil::checkBool($var);
|
|
$this->monitor_on_mains = $var;
|
|
|
|
return $this;
|
|
}
|
|
|
|
}
|
|
|