修改阻断问题

This commit is contained in:
zhoudaxia 2016-08-26 21:25:59 +08:00
parent f639d9d3e1
commit 6687629e85
1 changed files with 2 additions and 1 deletions

View File

@ -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);