nogoi fix for headless systems. (#40)

* Variable sound output level

Mods to SoundPlayback module to allow additional parameters. Implemented
system for NI cards to allow changes to selected output voltage range
meaning output can be boosted to level higher than current default.

* Code to support nogui operations when no screens present on headless
system

* Fix problem of nogui headless operation trying to access screen size.
This commit is contained in:
Douglas Gillespie 2022-07-19 08:20:07 +01:00 committed by GitHub
parent 9fdd30556b
commit 6eaa6e4978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -247,7 +247,7 @@ public class Pamguard {
} }
//going to need the run mode inside a Runnable later //going to need the run mode inside a Runnable later
final int chosenRunMode = runMode; final int chosenRunMode = runMode;
if(runMode != PamController.RUN_REMOTE) { if(runMode != PamController.RUN_REMOTE && PamGUIManager.getGUIType() != PamGUIManager.NOGUI) {
// ScreenSize.startScreenSizeProcess(); // ScreenSize.startScreenSizeProcess();
ScreenSize.getScreenBounds(); ScreenSize.getScreenBounds();
} }