aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jsyn/unitgen/FixedRateMonoWriter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jsyn/unitgen/FixedRateMonoWriter.java')
-rw-r--r--src/com/jsyn/unitgen/FixedRateMonoWriter.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/com/jsyn/unitgen/FixedRateMonoWriter.java b/src/com/jsyn/unitgen/FixedRateMonoWriter.java
index 4dd9f2a..c215c55 100644
--- a/src/com/jsyn/unitgen/FixedRateMonoWriter.java
+++ b/src/com/jsyn/unitgen/FixedRateMonoWriter.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.
@@ -21,11 +21,14 @@ import com.jsyn.ports.UnitInputPort;
/**
* Simple sample writer. Write one sample per audio frame with no interpolation. This can be used to
* record audio or to build delay lines.
- *
+ *
+ * Note that you must call start() on this unit because it does not have an output for pulling data.
+ *
* @see FixedRateStereoWriter
* @author Phil Burk (C) 2009 Mobileer Inc
*/
public class FixedRateMonoWriter extends SequentialDataWriter {
+
public FixedRateMonoWriter() {
addPort(input = new UnitInputPort("Input"));
}