|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.mux.streams.DefaultSampleList
as.clynx.audio.mux.streams.DistanceSampleList
public class DistanceSampleList
The class DistanceSampleList.java extends DefaultSampleList and adds sample values according their local position to channels.
Constructor Summary | |
---|---|
DistanceSampleList(PlayListProvider provider,
SignalLocalizer localizer)
Constructor |
Method Summary | |
---|---|
void |
add(int index,
java.lang.Integer value)
adds the sample value of trackNO 'index' |
int |
getNormalizedSampleSum()
must be called after the signal was added to the current channel. |
void |
reset()
resets the instance |
Methods inherited from class as.clynx.audio.mux.streams.DefaultSampleList |
---|
addEmpty, getNormalizedSampleAt, getSampleAt, getSampleSum, size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistanceSampleList(PlayListProvider provider, SignalLocalizer localizer)
provider
- localizer
- Method Detail |
---|
public void add(int index, java.lang.Integer value)
DefaultSampleList
add
in class DefaultSampleList
public int getNormalizedSampleSum()
http://www.jsresources.org/faq_audio.html#samples_organized
getNormalizedSampleSum
in class DefaultSampleList
public void reset()
reset
in class DefaultSampleList
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |