propresenter-php/proto/audio.proto
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

72 lines
1.5 KiB
Protocol Buffer
Executable file

syntax = "proto3";
package rv.data;
option cc_enable_arenas = true;
option csharp_namespace = "Pro.SerializationInterop.RVProtoData";
option swift_prefix = "RVData_";
import "uuid.proto";
message Audio {
message SettingsDocument {
.rv.data.Audio.OutputSetup output_setup = 1;
.rv.data.Audio.Device monitor_device = 2;
bool monitor_on_mains = 3;
}
message OutputSetup {
.rv.data.UUID uuid = 1;
.rv.data.Audio.Device audio_device = 2;
repeated .rv.data.Audio.LogicalChannel logical_channels = 3;
double audio_delay = 4;
double master_level = 5;
repeated .rv.data.Audio.PhysicalChannel physical_chanels = 6;
}
message Device {
message Format {
enum Type {
TYPE_INT = 0;
TYPE_FLOAT = 1;
}
uint32 sample_rate = 1;
uint32 bit_depth = 2;
.rv.data.Audio.Device.Format.Type type = 3;
}
string name = 1;
string renderID = 2;
uint32 input_channel_count = 3;
uint32 output_channel_count = 4;
repeated .rv.data.Audio.Device.Format formats = 5;
}
message LogicalChannel {
message OutputChannel {
uint32 index = 1;
bool muted = 2;
bool solo = 3;
bool test_tone = 4;
}
.rv.data.UUID uuid = 1;
string name = 2;
uint32 index = 3;
bool muted = 4;
repeated .rv.data.Audio.LogicalChannel.OutputChannel physical_audio_channels = 5;
bool solo = 6;
bool test_tone = 7;
}
message PhysicalChannel {
uint32 index = 1;
bool mute_enable = 2;
bool solo_enable = 3;
bool tone_enable = 4;
}
}