mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-22 07:02:29 +00:00
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:
parent
9fdd30556b
commit
6eaa6e4978
@ -247,7 +247,7 @@ public class Pamguard {
|
||||
}
|
||||
//going to need the run mode inside a Runnable later
|
||||
final int chosenRunMode = runMode;
|
||||
if(runMode != PamController.RUN_REMOTE) {
|
||||
if(runMode != PamController.RUN_REMOTE && PamGUIManager.getGUIType() != PamGUIManager.NOGUI) {
|
||||
// ScreenSize.startScreenSizeProcess();
|
||||
ScreenSize.getScreenBounds();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user