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() {
117
117
public void write (JmeExporter ex ) throws IOException {
118
118
super .write (ex );
119
119
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 );
122
122
}
123
123
124
124
@ Override
125
125
public void read (JmeImporter im ) throws IOException {
126
126
super .read (im );
127
127
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 );
130
130
}
131
131
}
You can’t perform that action at this time.
0 commit comments