| Modifier and Type | Class and Description |
|---|---|
| private static class | PortMixer.
Private inner class representing a BooleanControl for PortMixerPort. |
| private static class | PortMixer.
Private inner class representing a CompoundControl for PortMixerPort. |
| private static class | PortMixer.
Private inner class representing a BooleanControl for PortMixerPort. |
| private static class | PortMixer.
Private inner class representing a port info. |
| private static class | PortMixer.
Private inner class representing a Port for the PortMixer. |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private long | |
| private final Port. | |
| private PortMixer. | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv long | |
| public Line | getLine(Line.
Implements abstract com. Implements javax. Obtains a line that is available for use and that matches the description
in the specified |
| public int | getMaxLines(Line.
Implements abstract com. Implements javax. Obtains the approximate maximum number of lines of the requested type that can be open simultaneously on the mixer. |
| pack-priv int | |
| pack-priv Port | |
| private Port. | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private static native void | |
| private static native float | |
| private static native int | |
| private static native void | |
| private static native void | |
| private static native void | |
| private static native int | |
| private static native String | |
| private static native int | |
| private static native long |
| DST_HEADPHONE | back to summary |
|---|---|
| private static final int DST_HEADPHONE | |
| DST_LINE_OUT | back to summary |
|---|---|
| private static final int DST_LINE_OUT | |
| DST_MASK | back to summary |
|---|---|
| private static final int DST_MASK | |
| DST_SPEAKER | back to summary |
|---|---|
| private static final int DST_SPEAKER | |
| DST_UNKNOWN | back to summary |
|---|---|
| private static final int DST_UNKNOWN | |
| id | back to summary |
|---|---|
| private long id | |
| portInfos | back to summary |
|---|---|
| private final Port. | |
| ports | back to summary |
|---|---|
| private PortMixer. | |
| SRC_COMPACT_DISC | back to summary |
|---|---|
| private static final int SRC_COMPACT_DISC | |
| SRC_LINE_IN | back to summary |
|---|---|
| private static final int SRC_LINE_IN | |
| SRC_MASK | back to summary |
|---|---|
| private static final int SRC_MASK | |
| SRC_MICROPHONE | back to summary |
|---|---|
| private static final int SRC_MICROPHONE | |
| SRC_UNKNOWN | back to summary |
|---|---|
| private static final int SRC_UNKNOWN | |
| PortMixer | back to summary |
|---|---|
| pack-priv PortMixer(PortMixerProvider. | |
| getID | back to summary |
|---|---|
| pack-priv long getID() | |
| getLine | back to summary |
|---|---|
| public Line getLine(Line. Implements abstract com. Implements javax. Doc from javax. Obtains a line that is available for use and that matches the description
in the specified
If a
| |
| getMaxLines | back to summary |
|---|---|
| public int getMaxLines(Line. Implements abstract com. Implements javax. Doc from javax. Obtains the approximate maximum number of lines of the requested type that can be open simultaneously on the mixer. Certain types of mixers do not have a hard bound and may allow opening more lines. Since certain lines are a shared resource, a mixer may not be able to open the maximum number of lines if another process has opened lines of this mixer.
The requested type is any line that matches the description in the
provided
| |
| getMixerIndex | back to summary |
|---|---|
| pack-priv int getMixerIndex() | |
| getPort | back to summary |
|---|---|
| pack-priv Port getPort(int index) | |
| getPortInfo | back to summary |
|---|---|
| private Port. | |
| implClose | back to summary |
|---|---|
| protected void implClose() Implements abstract com.
| |
| implOpen | back to summary |
|---|---|
| protected void implOpen() throws LineUnavailableException Implements abstract com.
| |
| implStart | back to summary |
|---|---|
| protected void implStart() Implements abstract com.
| |
| implStop | back to summary |
|---|---|
| protected void implStop() Implements abstract com.
| |
| nClose | back to summary |
|---|---|
| private static native void nClose(long id) | |
| nControlGetFloatValue | back to summary |
|---|---|
| private static native float nControlGetFloatValue(long controlID) | |
| nControlGetIntValue | back to summary |
|---|---|
| private static native int nControlGetIntValue(long controlID) | |
| nControlSetFloatValue | back to summary |
|---|---|
| private static native void nControlSetFloatValue(long controlID, float value) | |
| nControlSetIntValue | back to summary |
|---|---|
| private static native void nControlSetIntValue(long controlID, int value) | |
| nGetControls | back to summary |
|---|---|
private static native void nGetControls(long id, int portIndex, Vector<E> vector)
| |
| nGetPortCount | back to summary |
|---|---|
| private static native int nGetPortCount(long id) | |
| nGetPortName | back to summary |
|---|---|
| private static native String nGetPortName(long id, int portIndex) | |
| nGetPortType | back to summary |
|---|---|
| private static native int nGetPortType(long id, int portIndex) | |
| nOpen | back to summary |
|---|---|
| private static native long nOpen(int mixerIndex) throws LineUnavailableException | |
| Modifier and Type | Class and Description |
|---|---|
| private static class | PortMixer.
inner class for custom types. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static BooleanControl. | |
| public boolean | getValue()
Overrides javax. Obtains this control's current value. |
| public void | setValue(boolean value)
Overrides javax. Sets the current value for the control. |
| closed | back to summary |
|---|---|
| private boolean closed | |
| controlID | back to summary |
|---|---|
| private final long controlID | |
| BoolCtrl | back to summary |
|---|---|
| private BoolCtrl(long controlID, String name) | |
| BoolCtrl | back to summary |
|---|---|
| private BoolCtrl(long controlID, BooleanControl. | |
| createType | back to summary |
|---|---|
| private static BooleanControl. | |
| getValue | back to summary |
|---|---|
| public boolean getValue() Overrides javax. Doc from javax. Obtains this control's current value.
| |
| setValue | back to summary |
|---|---|
| public void setValue(boolean value) Overrides javax. Doc from javax. Sets the current value for the control. The default implementation simply sets the value as indicated. Some controls require that their line be open before they can be affected by setting a value.
| |
| BCT | back to summary |
|---|---|
| private BCT(String name) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class | PortMixer.
inner class for custom compound control types. |
| Access | Constructor and Description |
|---|---|
| private |
| CompCtrl | back to summary |
|---|---|
| private CompCtrl(String name, Control[] controls) | |
| CCT | back to summary |
|---|---|
| private CCT(String name) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class | PortMixer.
inner class for custom types. |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final long | |
| private static final FloatControl. |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private | FloatCtrl(long controlID, FloatControl.
|
| Modifier and Type | Method and Description |
|---|---|
| public float | getValue()
Overrides javax. Obtains this control's current value. |
| public void | setValue(float value)
Overrides javax. Sets the current value for the control. |
| closed | back to summary |
|---|---|
| private boolean closed | |
| controlID | back to summary |
|---|---|
| private final long controlID | |
| FLOAT_CONTROL_TYPES | back to summary |
|---|---|
| private static final FloatControl. | |
| FloatCtrl | back to summary |
|---|---|
| private FloatCtrl(long controlID, String name, float min, float max, float precision, String units) | |
| FloatCtrl | back to summary |
|---|---|
| private FloatCtrl(long controlID, int type, float min, float max, float precision, String units) | |
| FloatCtrl | back to summary |
|---|---|
| private FloatCtrl(long controlID, FloatControl. | |
| getValue | back to summary |
|---|---|
| public float getValue() Overrides javax. Doc from javax. Obtains this control's current value.
| |
| setValue | back to summary |
|---|---|
| public void setValue(float value) Overrides javax. Doc from javax. Sets the current value for the control. The default implementation simply
sets the value as indicated. If the value indicated is greater than the
maximum value, or smaller than the minimum value, an
| |
| FCT | back to summary |
|---|---|
| private FCT(String name) | |
| Access | Constructor and Description |
|---|---|
| private |
| PortInfo | back to summary |
|---|---|
| private PortInfo(String name, boolean isSource) | |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements abstract com. Implements javax. Closes the line, indicating that any system resources in use by the line can be released. |
| private void | |
| private void | |
| pack-priv void | |
| pack-priv void | |
| public void | open()
Implements abstract com. Implements javax. Opens the line, indicating that it should acquire any required system resources and become operational. |
| PortMixerPort | back to summary |
|---|---|
| private PortMixerPort(Port. | |
| close | back to summary |
|---|---|
| public void close() Implements abstract com. Implements javax. Doc from javax. Closes the line, indicating that any system resources in use by the line
can be released. If this operation succeeds, the line is marked closed
and a
| |
| disposeControls | back to summary |
|---|---|
| private void disposeControls() | |
| enableControls | back to summary |
|---|---|
| private void enableControls(Control[] controls, boolean enable) | |
| implClose | back to summary |
|---|---|
| pack-priv void implClose() | |
| implOpen | back to summary |
|---|---|
| pack-priv void implOpen() throws LineUnavailableException | |
| open | back to summary |
|---|---|
| public void open() throws LineUnavailableException Implements abstract com. Implements javax. Doc from javax. Opens the line, indicating that it should acquire any required system
resources and become operational. If this operation succeeds, the line is
marked as open, and an
Note that some lines, once closed, cannot be reopened. Attempts to reopen
such a line will always result in an
Some types of lines have configurable properties that may affect resource
allocation. For example, a
This method takes no arguments, and opens the line with the current
settings. For
For
| |