File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
jme3-core/src/main/java/com/jme3/audio Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments