public class SpectraAnalyzer extends AbstractSink
| Constructor and Description |
|---|
SpectraAnalyzer(String name,
PriorityQueueScheduler scheduler) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
AudioOutput |
getAudioOutput() |
Formats |
getNativeFormats() |
int[] |
getSpectra() |
void |
onMediaTransfer(Frame frame)
This methos is called when new portion of media arrives.
|
void |
print(String fileName) |
failed, getBytesReceived, getPacketsReceived, isStarted, perform, report, reset, start, started, stop, stoppedgetId, getNamepublic SpectraAnalyzer(String name, PriorityQueueScheduler scheduler)
public AudioOutput getAudioOutput()
public void activate()
activate in interface Componentactivate in class AbstractSinkpublic void deactivate()
deactivate in interface Componentdeactivate in class AbstractSinkpublic void onMediaTransfer(Frame frame) throws IOException
AbstractSinkonMediaTransfer in class AbstractSinkIOExceptionpublic int[] getSpectra()
public void print(String fileName) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic Formats getNativeFormats()
Copyright © 2016 TeleStax, Inc.. All Rights Reserved.