|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.frinika.audio.toot.AudioPeakMonitor
public class AudioPeakMonitor
A simple AudioProcess that looks for the peak value. It is reset when yoiu call getPeak()
Field Summary |
---|
Fields inherited from interface uk.org.toot.audio.core.AudioProcess |
---|
AUDIO_DISCONNECT, AUDIO_OK |
Constructor Summary | |
---|---|
AudioPeakMonitor()
|
Method Summary | |
---|---|
void |
close()
|
float |
getPeak()
|
void |
open()
|
int |
processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AudioPeakMonitor()
Method Detail |
---|
public float getPeak()
public void open()
open
in interface uk.org.toot.audio.core.AudioProcess
public int processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
processAudio
in interface uk.org.toot.audio.core.AudioProcess
public void close()
close
in interface uk.org.toot.audio.core.AudioProcess
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |