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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2023 Takashi Sakamoto
//! Protocol implementations for Mackie Onyx-F series.
//!
//! The module includes protocol about port configuration defined by Echo Audio Digital Corporation
//! for Mackie Onyx-F series.
use ;
/// Protocol implementation for former model of Onyx 1200F.
///
/// Diagram of internal signal flow
///
/// ```text
///
/// analog-input-1/2 ---------+------------------------------------------> stream-output-1/2
/// analog-input-3/4 ---------|-+----------------------------------------> stream-output-3/4
/// analog-input-5/6 ---------|-|-+--------------------------------------> stream-output-5/6
/// analog-input-7/8 ---------|-|-|-+------------------------------------> stream-output-7/8
/// analog-input-9/10 --------|-|-|-|-+----------------------------------> stream-output-9/10
/// analog-input-11/12 -------|-|-|-|-|-+--------------------------------> stream-output-11/12
/// | | | | | |
/// optical-input-A-1/2 ------|-|-|-|-|-|-+------------------------------> stream-output-13/14
/// optical-input-A-3/4 ------|-|-|-|-|-|-|-+----------------------------> stream-output-15/16
/// optical-input-A-5/6 ------|-|-|-|-|-|-|-|-+--------------------------> stream-output-17/18
/// optical-input-A-7/8 ------|-|-|-|-|-|-|-|-|-+------------------------> stream-output-19/20
/// | | | | | | | | | |
/// optical-input-B-1/2 ------|-|-|-|-|-|-|-|-|-|-+----------------------> stream-output-21/22
/// optical-input-B-3/4 ------|-|-|-|-|-|-|-|-|-|-|-+--------------------> stream-output-23/24
/// optical-input-B-5/6 ------|-|-|-|-|-|-|-|-|-|-|-|-+------------------> stream-output-25/26
/// optical-input-B-7/8 ------|-|-|-|-|-|-|-|-|-|-|-|-|-+----------------> stream-output-27/28
/// | | | | | | | | | | | | | |
/// coaxial-input-1/2 ---or---|-|-|-|-|-|-|-|-|-|-|-|-|-|-+--------------> stream-output-29/30
/// XLR-input-1/2 -------+ | | | | | | | | | | | | | | |
/// | | | | | | | | | | | | | | |
/// v v v v v v v v v v v v v v v
/// ++===============================++
/// stream-input-1/2 ----> || || --+-------> analog-output-1/2
/// stream-input-3/4 ----> || || --+-------> analog-output-3/4
/// stream-input-5/6 ----> || mixer || --+-------> analog-output-5/6
/// stream-input-7/8 ----> || || --+-------> analog-output-7/8
/// || 64 x 34 || |
/// stream-input-9/10 ---> || || --|-------> adat-output-A-1/2
/// stream-input-11/12 --> || || --|-------> adat-output-A-3/4
/// stream-input-13/14 --> || || --|-------> adat-output-A-5/6
/// stream-input-15/16 --> || || --|-------> adat-output-A-7/8
/// || || |
/// stream-input-17/18 --> || || --|-------> adat-output-A-1/2
/// stream-input-19/20 --> || || --|-------> adat-output-A-3/4
/// stream-input-21/22 --> || || --|-------> adat-output-A-5/6
/// stream-input-23/24 --> || || --|-------> adat-output-A-7/8
/// || || |
/// stream-input-25/26 --> || || --+-------> headphone-output-1/2
/// stream-input-27/28 --> || || --+-------> headphone-output-3/4
/// stream-input-29/30 --> || || --+-------> headphone-output-5/6
/// stream-input-31/32 --> || || --+-------> headphone-output-7/8
/// || || |
/// stream-input-33/34 --> || || --+---or--> coaxial-output-7/8
/// ++===============================++ | +--> XLR-output-1/2
/// (one of)
/// +-------> control-room-1/2
/// ```
;
/// Protocol implementation for Mackie Onyx 400F. The higher sampling rates are available only with
/// firmware version 4 and former.
///
/// Diagram of internal signal flow
///
/// ```text
///
/// analog-input-1/2 ---------+----------------------> stream-output-1/2
/// analog-input-3/4 ---------|-+--------------------> stream-output-3/4
/// analog-input-5/6 ---------|-|-+------------------> stream-output-5/6
/// analog-input-7/8 ---------|-|-|-+----------------> stream-output-7/8
/// | | | |
/// coaxial-input-1/2 --------|-|-|-|-+--------------> stream-output-9/10
/// | | | | |
/// v v v v v
/// ++===========++
/// stream-input-1/2 ----> || || -----+-> analog-output-1/2
/// stream-input-3/4 ----> || || -----+-> analog-output-3/4
/// stream-input-5/6 ----> || mixer || -----+-> analog-output-5/6
/// stream-input-7/8 ----> || 20 x 20 || -----+-> analog-output-7/8
/// || || |
/// stream-input-9/10 ---> || || -----+-> coaxial-output-1/2
/// ++===========++ |
/// (one of)
/// +-> control-room-1/2
/// ```
;