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

68 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_";
message DigitalAudio {
message Setup {
repeated .rv.data.DigitalAudio.Bus buses = 1;
.rv.data.DigitalAudio.Device monitor_device = 2;
.rv.data.DigitalAudio.Device main_output_device = 3;
bool enable_sdi_ndi_device = 4;
.rv.data.DigitalAudio.Device sdi_ndi_device = 5;
bool monitor_on_mains = 6;
bool disable_main_output_device = 7;
}
message Bus {
string name = 1;
bool muted = 2;
bool solo = 3;
bool test_tone = 4;
double master_level = 5;
}
message Device {
message Format {
enum Type {
TYPE_INT = 0;
TYPE_FLOAT = 1;
}
uint32 sample_rate = 1;
uint32 bit_depth = 2;
.rv.data.DigitalAudio.Device.Format.Type type = 3;
}
message Map {
uint32 channel_index = 1;
repeated uint32 mapped_indices = 2;
}
message Channel {
bool mute_enable = 1;
bool solo_enable = 2;
bool tone_enable = 3;
double audio_delay = 4;
double level = 5;
}
message Routing {
repeated .rv.data.DigitalAudio.Device.Channel channels = 1;
repeated .rv.data.DigitalAudio.Device.Map map = 2;
bool is_custom_map = 3;
.rv.data.DigitalAudio.Device.Channel master_channel = 4;
}
string name = 1;
string renderID = 2;
repeated .rv.data.DigitalAudio.Device.Format formats = 3;
.rv.data.DigitalAudio.Device.Routing routing = 4;
}
}