You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ml...@apache.org on 2006/08/25 06:57:28 UTC
svn commit: r436657 - in
/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi:
MidiSystem.java VoiceStatus.java
Author: mloenko
Date: Thu Aug 24 21:57:27 2006
New Revision: 436657
URL: http://svn.apache.org/viewvc?rev=436657&view=rev
Log:
changed behavior of not yet implemented methods to simplify app-driven development
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java
Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java?rev=436657&r1=436656&r2=436657&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/MidiSystem.java Thu Aug 24 21:57:27 2006
@@ -26,117 +26,117 @@
public static MidiDevice getMidiDevice(MidiDevice.Info info)
throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static MidiDevice.Info[] getMidiDeviceInfo() {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static MidiFileFormat getMidiFileFormat(File file) throws InvalidMidiDataException,
IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static MidiFileFormat getMidiFileFormat(InputStream stream)
throws InvalidMidiDataException, IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static MidiFileFormat getMidiFileFormat(URL url) throws InvalidMidiDataException,
IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static int[] getMidiFileTypes() {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static int[] getMidiFileTypes(Sequence sequence) {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Receiver getReceiver() throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Sequence getSequence(File file) throws InvalidMidiDataException, IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Sequence getSequence(InputStream stream) throws InvalidMidiDataException,
IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Sequence getSequence(URL url) throws InvalidMidiDataException, IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Sequencer getSequencer() throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Sequencer getSequencer(boolean connected) throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Soundbank getSoundbank(File file) throws InvalidMidiDataException,
IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Soundbank getSoundbank(InputStream stream) throws InvalidMidiDataException,
IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Soundbank getSoundbank(URL url) throws InvalidMidiDataException, IOException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Synthesizer getSynthesizer() throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static Transmitter getTransmitter() throws MidiUnavailableException {
//TODO
- return null;
+ throw new Error("not yet implemented");
}
public static boolean isFileTypeSupported(int fileType) {
//TODO
- return false;
+ throw new Error("not yet implemented");
}
public static boolean isFileTypeSupported(int fileType, Sequence sequence) {
//TODO
- return false;
+ throw new Error("not yet implemented");
}
public static int write(Sequence in, int type, File out) throws IOException {
//TODO
- return 1;
+ throw new Error("not yet implemented");
}
public static int write(Sequence in, int fileType, OutputStream out) throws IOException {
//TODO
- return 1;
+ throw new Error("not yet implemented");
}
}
Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java?rev=436657&r1=436656&r2=436657&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/main/java/javax/sound/midi/VoiceStatus.java Thu Aug 24 21:57:27 2006
@@ -31,5 +31,6 @@
public VoiceStatus() {
// TODO
+ throw new Error("not yet implemented");
}
}