public class Channel extends AbstractSignalProcessor<AudioBuffer,AudioBuffer>
Only lets one specified channel through.
This processor assumes interleaved order, i.e. for the stereo case
each Left sample is followed by a Right sample like this: LRLRLRLR...
More than two channels are supported.
MonolastOut, signalProcessorSupport| Constructor and Description |
|---|
Channel(int channel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
protected AudioBuffer |
processNext(AudioBuffer buffer)
Processes the given input and returns some output.
|
String |
toString() |
connectTo, connectTo, connectTo, disconnectFrom, flush, getConnectedProcessors, getConnectedSource, getId, getOutput, process, read, reset, setIdpublic Channel(int channel)
channel - channel to let through (zero-based)protected AudioBuffer processNext(AudioBuffer buffer)
AbstractSignalProcessorprocessNext in class AbstractSignalProcessor<AudioBuffer,AudioBuffer>buffer - input guaranteed not to be null.Copyright © 2011–2020 tagtraum industries incorporated. All rights reserved.