mirror of
https://github.com/xssfox/freedvtnc2
synced 2026-08-14 19:31:47 -04:00
Fix max chan bug
This commit is contained in:
parent
864e56f4ca
commit
35675b7b78
2 changed files with 3 additions and 2 deletions
|
|
@ -98,7 +98,8 @@ class InputDevice():
|
|||
logging.debug(f"Opening {self.device.name} for input")
|
||||
|
||||
if self.device.input_channels >= 2:
|
||||
logging.warning("Stereo (or more) input detected - Only the first/left channel will be used")
|
||||
self.device.input_channels = 2
|
||||
logging.warning("Stereo (or more) input detected - Only the first/left channel will be used. Will open only 2 channels")
|
||||
|
||||
if self.device.sample_rate < sample_rate:
|
||||
logging.critical(f"Input audio device sample rate {self.device.sample_rate} is less than modems sample rate {sample_rate} - this will cause problems")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "freedvtnc2"
|
||||
version = "0.0.1"
|
||||
version = "0.0.2"
|
||||
description = ""
|
||||
authors = ["xssfox <xss@sprocketfox.io>"]
|
||||
readme = "README.md"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue