Interface ShortPcmAudioFilter
-
- All Superinterfaces:
AudioFilter
- All Known Subinterfaces:
UniversalPcmAudioFilter
- All Known Implementing Classes:
AudioPipeline,ChannelCountPcmAudioFilter,CompositeAudioFilter,ConverterAudioFilter,FinalPcmAudioFilter,ToFloatAudioFilter,ToShortAudioFilter,ToSplitShortAudioFilter,UserProvidedAudioFilters
public interface ShortPcmAudioFilter extends AudioFilter
Audio filter which accepts 16-bit signed PCM samples.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(short[] input, int offset, int length)voidprocess(java.nio.ShortBuffer buffer)-
Methods inherited from interface com.sedmelluq.discord.lavaplayer.filter.AudioFilter
close, flush, seekPerformed
-
-
-
-
Method Detail
-
process
void process(short[] input, int offset, int length) throws java.lang.InterruptedException- Parameters:
input- Array of samplesoffset- Offset in the arraylength- Length of the sequence in the array- Throws:
java.lang.InterruptedException- When interrupted externally (or for seek/stop).
-
process
void process(java.nio.ShortBuffer buffer) throws java.lang.InterruptedException- Parameters:
buffer- The buffer of samples- Throws:
java.lang.InterruptedException- When interrupted externally (or for seek/stop).
-
-