Click display fixes (#41)

* 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.

* Click detector display fixes

1. ICI not displaying correctly
2. Component sizes in display dialog on hres monitors
This commit is contained in:
Douglas Gillespie 2022-07-22 08:30:47 +01:00 committed by GitHub
parent 128a512ff6
commit 8569b6b579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -3332,7 +3332,8 @@ public class ClickBTDisplay extends ClickDisplay implements PamObserver, PamSett
return false;
}
if (btDisplayParameters.VScale == BTDisplayParameters.DISPLAY_ICI) {
if (btDisplayParameters.showUnassignedICI == false && click.getICI() < 0) return false;
// if (btDisplayParameters.showUnassignedICI == false && click.getICI() < 0) return false;
if (btDisplayParameters.showUnassignedICI == false && click.getSuperDetectionsCount() <= 0) return false;
// otherwise may be ok, since will estimate all ici's on teh fly.
}
if (btDisplayParameters.amplitudeSelect && click.getAmplitudeDB() < btDisplayParameters.minAmplitude) {

View File

@ -106,6 +106,7 @@ public class ClickDisplayDialog extends PamDialog implements ActionListener {
btPanel.setParams(btDisplayParameters);
sizePanel.setParams(btDisplayParameters);
speciesPanel.setParams(btDisplayParameters);
pack();
}
@Override