修改阻断问题
This commit is contained in:
parent
f639d9d3e1
commit
6687629e85
|
@ -228,6 +228,7 @@ public class PreferencesSoundOptionsTab extends WizardPanel {
|
|||
if (AudioSystem.getMixer(mi).getSourceLineInfo(clipLineInfo).length > 0) {
|
||||
mixers.add(mi);
|
||||
AudioSystem.getMixer(mi).close();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -299,7 +300,7 @@ public class PreferencesSoundOptionsTab extends WizardPanel {
|
|||
Mixer mixer = AudioSystem.getMixer((Mixer.Info) getMixerComboBox().getSelectedItem());
|
||||
|
||||
mixerClassName = mixer.getClass().getSimpleName();
|
||||
|
||||
mixer.close();
|
||||
}
|
||||
if (mixerClassName != null) {
|
||||
props.setOptionsSoundMixer(mixerClassName);
|
||||
|
|
Loading…
Reference in New Issue