43
43
final class PulseAudioTargetPort extends PulseAudioPort {
48
SecurityWrapper.loadNativeLibrary();
51
PulseAudioTargetPort(String name) {
60
PulseAudioMixer parent = PulseAudioMixer.getInstance();
61
parent.addTargetLine(this);
68
throw new IllegalStateException("not open, so cant close Port");
71
PulseAudioMixer parent = PulseAudioMixer.getInstance();
72
parent.removeTargetLine(this);
78
public native byte[] native_set_volume(float newValue);
81
public native byte[] native_update_volume();
84
public Line.Info getLineInfo() {
85
return new Port.Info(Port.class, getName(), false);
48
SecurityWrapper.loadNativeLibrary();
51
PulseAudioTargetPort(String name) {
60
PulseAudioMixer parent = PulseAudioMixer.getInstance();
61
parent.addTargetLine(this);
68
throw new IllegalStateException("not open, so cant close Port");
71
PulseAudioMixer parent = PulseAudioMixer.getInstance();
72
parent.removeTargetLine(this);
78
public native byte[] native_set_volume(float newValue);
81
public native byte[] native_update_volume();
84
public Line.Info getLineInfo() {
85
return new Port.Info(Port.class, getName(), false);