@@ -136,17 +136,17 @@ public long getUniqueId() {
136136 public void write (JmeExporter ex ) throws IOException {
137137 super .write (ex );
138138 OutputCapsule oc = ex .getCapsule (this );
139- oc .write (this .volume , "volume" , 10.f );
140- oc .write (this .lowFreqVolume , "lf_volume" , 1.0f );
141- oc .write (this .highFreqVolume , "hf_volume" , 1.0f );
139+ oc .write (this .volume , "volume" , 1f );
140+ oc .write (this .lowFreqVolume , "lf_volume" , 1f );
141+ oc .write (this .highFreqVolume , "hf_volume" , 1f );
142142 }
143143
144144 @ Override
145145 public void read (JmeImporter im ) throws IOException {
146146 super .read (im );
147147 InputCapsule ic = im .getCapsule (this );
148- this .volume = ic .readFloat ("volume" , 1.0f );
149- this .lowFreqVolume = ic .readFloat ("lf_volume" , 1.0f );
150- this .highFreqVolume = ic .readFloat ("hf_volume" , 1.0f );
148+ this .volume = ic .readFloat ("volume" , 1f );
149+ this .lowFreqVolume = ic .readFloat ("lf_volume" , 1f );
150+ this .highFreqVolume = ic .readFloat ("hf_volume" , 1f );
151151 }
152152}
0 commit comments