* @author Mat McGowan 12/12/99 \r
* @since 0.0.7\r
*/\r
+@LATTICE("B<T")\r
+@METHODDEFAULT("OUT<IN")\r
public class OutputChannels\r
{ \r
/**\r
* Flag to indicate output should include both channels. \r
*/\r
- public static final int BOTH_CHANNELS = 0;\r
+ @LOC("T") public static final int BOTH_CHANNELS = 0;\r
\r
/**\r
* Flag to indicate output should include the left channel only. \r
*/\r
- public static final int LEFT_CHANNEL = 1;\r
+ @LOC("T") public static final int LEFT_CHANNEL = 1;\r
\r
/**\r
* Flag to indicate output should include the right channel only. \r
*/\r
- public static final int RIGHT_CHANNEL = 2;\r
+ @LOC("T") public static final int RIGHT_CHANNEL = 2;\r
\r
/**\r
* Flag to indicate output is mono. \r
*/\r
- public static final int DOWNMIX_CHANNELS = 3;\r
+ @LOC("T") public static final int DOWNMIX_CHANNELS = 3;\r
\r
\r
- public static final OutputChannels LEFT = new OutputChannels(LEFT_CHANNEL);\r
- public static final OutputChannels RIGHT = new OutputChannels(RIGHT_CHANNEL);\r
- public static final OutputChannels BOTH = new OutputChannels(BOTH_CHANNELS);\r
- public static final OutputChannels DOWNMIX = new OutputChannels(DOWNMIX_CHANNELS);\r
+ @LOC("B") public static final OutputChannels LEFT = new OutputChannels(LEFT_CHANNEL);\r
+ @LOC("B") public static final OutputChannels RIGHT = new OutputChannels(RIGHT_CHANNEL);\r
+ @LOC("B") public static final OutputChannels BOTH = new OutputChannels(BOTH_CHANNELS);\r
+ @LOC("B") public static final OutputChannels DOWNMIX = new OutputChannels(DOWNMIX_CHANNELS);\r
\r
\r
- private /*final*/ int outputChannels;\r
+ @LOC("T") private /*final*/ int outputChannels;\r
\r
/**\r
* Creates an <code>OutputChannels</code> instance\r
throw new IllegalArgumentException("Invalid channel code: "+code);\r
}\r
}\r
- \r
- private OutputChannels(int channels)\r
+ \r
+ private OutputChannels(@LOC("IN") int channels)\r
{\r
outputChannels = channels;\r
\r