|
jjdh API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdh.javax.sound.filter.SoundFilter
dh.javax.sound.filter.FilterSequence
public class FilterSequence
The FilterSequence class is a SoundFilter that combines several SoundFilters at once.
This class wasn't listed in the book ;)
FilteredSoundStream
Field Summary | |
---|---|
private SoundFilter[] |
filters
|
Constructor Summary | |
---|---|
FilterSequence(SoundFilter[] filters)
Creates a new FilterSequence object with the specified array of SoundFilters. |
Method Summary | |
---|---|
void |
filter(byte[] samples,
int offset,
int length)
Filters the sound simple through each SoundFilter in this FilterSequence. |
int |
getRemainingSize()
Returns the maximum remaining size of all SoundFilters in this FilterSequence. |
void |
reset()
Resets each SoundFilter in this FilterSequence. |
Methods inherited from class dh.javax.sound.filter.SoundFilter |
---|
filter, getSample, setSample |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SoundFilter[] filters
Constructor Detail |
---|
public FilterSequence(SoundFilter[] filters)
Method Detail |
---|
public int getRemainingSize()
getRemainingSize
in class SoundFilter
public void reset()
reset
in class SoundFilter
public void filter(byte[] samples, int offset, int length)
filter
in class SoundFilter
|
jjdh API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |