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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2021 Takashi Sakamoto
//! Protocol specific to Focusrite Saffire Pro 24.
//!
//! The module includes structure, enumeration, and trait and its implementation for protocol
//! defined by Focusrite for Saffire Pro 24.
//!
//! ## Diagram of internal signal flow for Saffire Pro 24.
//!
//! I note that optical input interface is available exclusively for ADAT input and S/PDIF input.
//!
//! ```text
//! ++===========++
//! mixer-input-0/1 -------> || || -> mixer-output-0/1
//! mixer-input-2/3 -------> || || -> mixer-output-2/3
//! mixer-input-4/5 -------> || || -> mixer-output-4/5
//! mixer-input-6/7 -------> || mixer || -> mixer-output-6/7
//! mixer-input-8/9 -------> || || -> mixer-output-8/9
//! mixer-input-10/11 -----> || 18 x 16 || -> mixer-output-10/11
//! mixer-input-12/13 -----> || || -> mixer-output-12/13
//! mixer-input-14/15 -----> || || -> mixer-output-14/15
//! mixer-input-16/17 -----> || ||
//! ++===========++
//!
//! ++===========++
//! mic-input-0/1 ---------> || ||
//! line-input-0/1 --------> || ||
//! spdif-coax-input-0/1 --> || || -> mixer-input-0/1
//! adat-input-0/1 --------> || || -> mixer-input-2/3
//! adat-input-2/3 --------> || || -> mixer-input-4/5
//! adat-input-4/5 --------> || mixer || -> mixer-input-6/7
//! adat-input-6/7 --------> || input || -> mixer-input-8/9
//! spdif-opt-input-0/1 ---> || router || -> mixer-input-10/11
//! || || -> mixer-input-12/13
//! stream-input-0/1 ------> || x 18 || -> mixer-input-14/15
//! stream-input-2/3 ------> || || -> mixer-input-16/17
//! stream-input-4/5 ------> || ||
//! stream-input-6/7 ------> || ||
//! ++===========++
//!
//! ++===========++
//! mic-input-0/1 ---------> || ||
//! line-input-0/1 --------> || ||
//! spdif-coax-input-0/1 --> || ||
//! adat-input-0/1 --------> || ||
//! adat-input-2/3 --------> || || -> stream-output-0/1
//! adat-input-4/5 --------> || || -> stream-output-2/3
//! adat-input-6/7 --------> || || -> stream-output-4/5
//! spdif-opt-input-0/1 ---> || stream || -> stream-output-6/7
//! || capture || -> stream-output-8/9
//! mixer-output-0/1 ------> || router || -> stream-output-10/11
//! mixer-output-2/3 ------> || || -> stream-output-12/13
//! mixer-output-4/5 ------> || x 16 || -> stream-output-14/15
//! mixer-output-6/7 ------> || ||
//! mixer-output-8/9 ------> || ||
//! mixer-output-10/11 ----> || ||
//! mixer-output-12/13 ----> || ||
//! mixer-output-14/15 ----> || ||
//! ++===========++
//!
//! ++===========++
//! mic-input-0/1 ---------> || ||
//! line-input-0/1 --------> || ||
//! spdif-coax-input-0/1 --> || ||
//! adat-input-0/1 --------> || ||
//! adat-input-2/3 --------> || ||
//! adat-input-4/5 --------> || ||
//! adat-input-6/7 --------> || ||
//! spdif-opt-input-0/1 ---> || ||
//! || physical ||
//! stream-input-0/1 ------> || output || -> analog-output-0/1
//! stream-input-2/3 ------> || router || -> analog-output-2/3
//! stream-input-4/5 ------> || || -> analog-output-4/5
//! stream-input-6/7 ------> || x 8 || -> spdif-output-0/1
//! || ||
//! mixer-output-0/1 ------> || ||
//! mixer-output-2/3 ------> || ||
//! mixer-output-4/5 ------> || ||
//! mixer-output-6/7 ------> || ||
//! mixer-output-8/9 ------> || ||
//! mixer-output-10/11 ----> || ||
//! mixer-output-12/13 ----> || ||
//! mixer-output-14/15 ----> || ||
//! ++===========++
//!
//! ```
use ;
/// Protocol implementation specific to Saffire Pro 24.
;