Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions audiofuse-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
('spdif-coax', 1),
('SPDIF_optical', 2),
('SPDIF-optical', 2),
('spdif-optical', 2),
('ADAT', 3),
('adat', 3),
('WClock', 4),
Expand Down Expand Up @@ -113,6 +114,7 @@ def set_digital_in(self, val):
return

restart = False
to_adat = False
# Restart when we would be switching from no ADAT I/O to some ADAT I/O
# or from some ADAT I/O to no ADAT I/O.
if val == Input.ADAT and self.input != Input.ADAT and self.output != Output.ADAT:
Expand Down Expand Up @@ -156,6 +158,7 @@ def set_digital_out(self, val):
return

restart = False
to_adat = False
# Restart when we would be switching from no ADAT I/O to some ADAT I/O
# or from some ADAT I/O to no ADAT I/O.
if val == Output.ADAT and self.output != Output.ADAT and self.input != Input.ADAT:
Expand Down