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
// SPDX-License-Identifier: LGPL-3.0-or-later
// Copyright (c) 2021 Takashi Sakamoto
//! Protocol specific to Focusrite Saffire Pro 14.
//!
//! The module includes structure, enumeration, and trait and its implementation for protocol
//! defined by Focusrite for Saffire Pro 14.
//!
//! ## Diagram of internal signal flow for Saffire Pro 14.
//!
//! 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 -------> || || -> mixer-input-0/1
//! line-input-0/1 ------> || || -> mixer-input-2/3
//! spdif-input-0/1 -----> || || -> mixer-input-4/5
//! || mixer || -> mixer-input-6/7
//! stream-input-0/1 ----> || input || -> mixer-input-8/9
//! stream-input-2/3 ----> || router || -> mixer-input-10/11
//! stream-input-4/5 ----> || || -> mixer-input-12/13
//! stream-input-6/7 ----> || x 18 || -> mixer-input-14/15
//! stream-input-8/9 ----> || || -> mixer-input-16/17
//! stream-input-10/11 --> || ||
//! ++===========++
//!
//! ++===========++
//! mic-input-0/1 -------> || ||
//! line-input-0/1 ------> || ||
//! spdif-input-0/1 -----> || ||
//! || stream ||
//! mixer-output-0/1 ----> || capture || -> stream-output-0/1
//! mixer-output-2/3 ----> || router || -> stream-output-2/3
//! mixer-output-4/5 ----> || || -> stream-output-4/5
//! mixer-output-6/7 ----> || x 8 || -> stream-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-input-0/1 -----> || ||
//! || ||
//! stream-input-0/1 ----> || ||
//! stream-input-2/3 ----> || ||
//! stream-input-4/5 ----> || ||
//! stream-input-6/7 ----> || ||
//! stream-input-8/9 ----> || physical ||
//! stream-input-10/11 --> || output || -> analog-output-0/1
//! stream-input-12/13 --> || router || -> analog-output-2/3
//! stream-input-14/15 --> || || -> spdif-output-0/1
//! stream-input-16/17 --> || x 6 ||
//! || ||
//! 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 14.
;