aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/ports/UnitDataQueuePort.java
diff options
context:
space:
mode:
authorPhil Burk <[email protected]>2016-03-23 09:28:15 -0700
committerPhil Burk <[email protected]>2016-03-23 09:28:15 -0700
commiteb36cf83f1cca79e76c4ad44fc78077c9428790b (patch)
tree5f4bef6827f6bd9c29b1ccdf8f2a1fde5000381c /src/com/jsyn/ports/UnitDataQueuePort.java
parent431965f53739b2ed9608510781bfc7b9d3b4b0e2 (diff)
parenteeafc364cbd39edc794748a0f2c0626e09ee9bb5 (diff)
Merge pull request #28 from philburk/docs
Docs
Diffstat (limited to 'src/com/jsyn/ports/UnitDataQueuePort.java')
-rw-r--r--src/com/jsyn/ports/UnitDataQueuePort.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/com/jsyn/ports/UnitDataQueuePort.java b/src/com/jsyn/ports/UnitDataQueuePort.java
index 0c88711..f96e12a 100644
--- a/src/com/jsyn/ports/UnitDataQueuePort.java
+++ b/src/com/jsyn/ports/UnitDataQueuePort.java
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,11 +25,11 @@ import com.softsynth.shared.time.TimeStamp;
/**
* Queue for SequentialData, samples or envelopes
- *
+ *
* @author Phil Burk (C) 2009 Mobileer Inc
*/
public class UnitDataQueuePort extends UnitPort {
- private LinkedList<QueuedBlock> blocks = new LinkedList<QueuedBlock>();
+ private final LinkedList<QueuedBlock> blocks = new LinkedList<QueuedBlock>();
private QueueDataCommand currentBlock;
private int frameIndex;
private int numChannels = 1;
@@ -330,7 +330,7 @@ public class UnitDataQueuePort extends UnitPort {
/**
* Queue entire amount of data with no options.
- *
+ *
* @param queueableData
*/
public void queue(SequentialData queueableData) {
@@ -391,8 +391,8 @@ public class UnitDataQueuePort extends UnitPort {
/**
* Convenience method that will queue the decay portion of a SequentialData object, or the gap
* and release loop portions if they exist. This could be used to implement a NoteOff method.
- *
- * @ifStop Will setAutostop(true) if release portion queued without a release loop. This will
+ *
+ * @param ifStop Will setAutostop(true) if release portion queued without a release loop. This will
* stop execution of the unit.
*/
public void queueOff(SequentialData queueableData, boolean ifStop, TimeStamp timeStamp) {