|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A WaveFormProvider acts as a source for a WaveFormDisplay. Each time the WaveFormDisplay needs to be updated, it asks, its provider for the WaveForm.
| Method Summary | |
|---|---|
int |
getChannels()
Get the channels of the audio data represented by the provider |
int |
getTotalLength()
Get the total length of the audio data represented by the provider in sample frames |
WaveForm |
getWaveForm(AbstractWaveFormDisplay display,
int start,
int length,
int width)
Get a WaveForm for the specified display |
| Method Detail |
|---|
int getChannels()
int getTotalLength()
WaveForm getWaveForm(AbstractWaveFormDisplay display,
int start,
int length,
int width)
display - The WaveFormDisplay that asks for the WaveFormstart - The start position of the WaveForm inside the source data
in sample frameslength - The length of the audio data that should be represented by
the WaveFormwidth - The width of the resulting WaveForm.
length sample frames of the
providerīs audio data beginning at position start to be
displayed in the width of width.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||