-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdigitalAudio.proto
63 lines (52 loc) · 1.44 KB
/
digitalAudio.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
syntax = "proto3";
package rv.data;
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 {
string name = 1;
string renderID = 2;
repeated rv.data.DigitalAudio.Device.Format formats = 3;
rv.data.DigitalAudio.Device.Routing routing = 4;
message Format {
uint32 sample_rate = 1;
uint32 bit_depth = 2;
enum Type {
TYPE_INT = 0;
TYPE_FLOAT = 1;
}
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;
}
}
}