[Japi-cvs] SF.net SVN: japi:[1047] progs/jirus/trunk/src/prj/net/sf/jirus
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2009-02-22 10:06:38
|
Revision: 1047 http://japi.svn.sourceforge.net/japi/?rev=1047&view=rev Author: christianhujer Date: 2009-02-22 10:06:35 +0000 (Sun, 22 Feb 2009) Log Message: ----------- Fixed checkstyle issues. Modified Paths: -------------- progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java Modified: progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java =================================================================== --- progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-22 10:06:20 UTC (rev 1046) +++ progs/jirus/trunk/src/prj/net/sf/jirus/Jirus.java 2009-02-22 10:06:35 UTC (rev 1047) @@ -39,9 +39,13 @@ // - Allow setups and have them changed dynamically during runtime. public class Jirus extends BasicCommand { + /** Secondary channel for the split. */ public static final int SPLIT_CHANNEL = 0x02; + + /** Split key note. */ public static final int SPLIT_KEY = 0x30; + /** Range of midi notes. */ public static final int MIDI_NOTE_RANGE = 128; /** Main Program. Modified: progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java =================================================================== --- progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-22 10:06:20 UTC (rev 1046) +++ progs/jirus/trunk/src/prj/net/sf/jirus/MyReceiver.java 2009-02-22 10:06:35 UTC (rev 1047) @@ -28,18 +28,26 @@ */ public class MyReceiver implements Receiver { + /** Note states (on / off). */ private final boolean[] noteState = new boolean[Jirus.MIDI_NOTE_RANGE]; + /** Currently palying note. */ private int playingNote = 0xFF; + /** Receiver to which the data will be forwarded. */ private final Receiver receiver; + /** Creates MyReceiver. + * @param receiver Receiver to which the data shall be forwarded. + */ public MyReceiver(final Receiver receiver) { this.receiver = receiver; } - public void close() {} + /** {@inheritDoc} */ + public void close() { } + /** {@inheritDoc} */ public void send(final MidiMessage message, final long timeStamp) { try { final byte[] messageData = message.getMessage(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |