-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaudio.proto
66 lines (55 loc) · 1.44 KB
/
audio.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
64
65
66
syntax = "proto3";
package rv.data;
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 {
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 Format {
uint32 sample_rate = 1;
uint32 bit_depth = 2;
enum Type {
TYPE_INT = 0;
TYPE_FLOAT = 1;
}
Type type = 3;
}
}
message LogicalChannel {
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 OutputChannel {
uint32 index = 1;
bool muted = 2;
bool solo = 3;
bool test_tone = 4;
}
}
message PhysicalChannel {
uint32 index = 1;
bool mute_enable = 2;
bool solo_enable = 3;
bool tone_enable = 4;
}
}