01: /*
02: * Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
04: *
05: * This program is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU General Public License version
07: * 2 only, as published by the Free Software Foundation.
08: *
09: * This program is distributed in the hope that it will be useful, but
10: * WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * General Public License version 2 for more details (a copy is
13: * included at /legal/license.txt).
14: *
15: * You should have received a copy of the GNU General Public License
16: * version 2 along with this work; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18: * 02110-1301 USA
19: *
20: * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
21: * Clara, CA 95054 or visit www.sun.com if you need additional
22: * information or have any questions.
23: */
24: package javax.microedition.media.control;
25:
26: import javax.microedition.media.MediaException;
27:
28: /**
29: * This class is defined by the JSR-135 specification
30: * <em>Mobile Media API,
31: * Version 1.2.</em>
32: */
33: // JAVADOC COMMENT ELIDED
34: public interface ToneControl extends javax.microedition.media.Control {
35:
36: // JAVADOC COMMENT ELIDED
37: byte VERSION = -2;
38:
39: // JAVADOC COMMENT ELIDED
40: byte TEMPO = -3;
41:
42: // JAVADOC COMMENT ELIDED
43: byte RESOLUTION = -4;
44:
45: // JAVADOC COMMENT ELIDED
46: byte BLOCK_START = -5;
47:
48: // JAVADOC COMMENT ELIDED
49: byte BLOCK_END = -6;
50:
51: // JAVADOC COMMENT ELIDED
52: byte PLAY_BLOCK = -7;
53:
54: // JAVADOC COMMENT ELIDED
55: byte SET_VOLUME = -8;
56:
57: // JAVADOC COMMENT ELIDED
58: byte REPEAT = -9;
59:
60: // JAVADOC COMMENT ELIDED
61: byte C4 = 60;
62:
63: // JAVADOC COMMENT ELIDED
64: byte SILENCE = -1;
65:
66: // JAVADOC COMMENT ELIDED
67: void setSequence(byte[] sequence);
68: }
|