|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectas.clynx.audio.mux.streams.DefaultSampleList
public class DefaultSampleList
The class DefaultSampleList.java merges all calculated samples. it calculates sums and allowes direct access to the samplelists.
Constructor Summary | |
---|---|
DefaultSampleList(PlayListProvider provider)
Constructor |
Method Summary | |
---|---|
void |
add(int index,
java.lang.Integer value)
adds the sample value of trackNO 'index' |
void |
addEmpty()
adds the values for allready cosed streams (null entries) |
int |
getNormalizedSampleAt(int i)
returns the normalized sample at position i |
int |
getNormalizedSampleSum()
returns the sum of normalized sample |
int |
getSampleAt(int i)
returns the sample at position i |
int |
getSampleSum()
returns the sum of not normalized sample |
void |
reset()
resets the instance |
int |
size()
returns the number of samples |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSampleList(PlayListProvider provider)
provider
- Method Detail |
---|
public void add(int index, java.lang.Integer value)
index
- value
- public void addEmpty()
public int getSampleSum()
public int getNormalizedSampleSum()
public int getNormalizedSampleAt(int i)
i
-
public int getSampleAt(int i)
i
-
public int size()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |