Skip to content

Commit 4e6f655

Browse files
authored
HighPassFilter: typo
1 parent 57d90d3 commit 4e6f655

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jme3-core/src/main/java/com/jme3/audio/HighPassFilter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ public long getUniqueId() {
117117
public void write(JmeExporter ex) throws IOException {
118118
super.write(ex);
119119
OutputCapsule oc = ex.getCapsule(this);
120-
oc.write(this.volume, "volume", 10.f);
121-
oc.write(this.lowFreqVolume, "lf_volume", 1.0f);
120+
oc.write(this.volume, "volume", 1f);
121+
oc.write(this.lowFreqVolume, "lf_volume", 1f);
122122
}
123123

124124
@Override
125125
public void read(JmeImporter im) throws IOException {
126126
super.read(im);
127127
InputCapsule ic = im.getCapsule(this);
128-
this.volume = ic.readFloat("volume", 1.0f);
129-
this.lowFreqVolume = ic.readFloat("lf_volume", 1.0f);
128+
this.volume = ic.readFloat("volume", 1f);
129+
this.lowFreqVolume = ic.readFloat("lf_volume", 1f);
130130
}
131131
}

0 commit comments

Comments
 (0)