mirror of
https://github.com/PAMGuard/PAMGuard.git
synced 2024-11-25 16:42:27 +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
|
//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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user