use of javax.sound.sampled.Control in project Spark by igniterealtime.
the class JavaMixer method createControlChildren.
private void createControlChildren(JavaMixer.ControlNode controlNode) {
if (controlNode.getControl() instanceof CompoundControl) {
CompoundControl control = (CompoundControl) controlNode.getControl();
Control[] aControls = control.getMemberControls();
for (Control con : aControls) {
JavaMixer.ControlNode conNode = new JavaMixer.ControlNode(con);
createControlChildren(conNode);
controlNode.add(conNode);
}
}
}
use of javax.sound.sampled.Control in project Spark by igniterealtime.
the class JavaMixer method createPortChildren.
private void createPortChildren(JavaMixer.PortNode portNode) {
Control[] aControls = portNode.getPort().getControls();
for (Control aControl : aControls) {
JavaMixer.ControlNode controlNode = new JavaMixer.ControlNode(aControl);
createControlChildren(controlNode);
portNode.add(controlNode);
}
}
Aggregations