|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.component.audio.AudioMixer
public class AudioMixer
Implements audio mixer.
| Field Summary | |
|---|---|
protected long |
mixCount
|
| Constructor Summary | |
|---|---|
AudioMixer(Scheduler scheduler)
|
|
| Method Summary | |
|---|---|
Format |
getFormat()
Gets the format of the output stream. |
MediaSource |
getOutput()
Gets the mixed stream. |
protected int |
getPacketSize()
Gets the used packet size. |
MediaSink |
newInput()
Creates new input for this mixer. |
void |
release(MediaSink input)
Releases unused input stream |
String |
report()
|
void |
setFormat(Format format)
Modifies format of the output stream. |
void |
start()
|
void |
startMixer()
|
void |
stop()
|
void |
stopMixer(boolean stopOutput)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long mixCount
| Constructor Detail |
|---|
public AudioMixer(Scheduler scheduler)
| Method Detail |
|---|
public Format getFormat()
getFormat in interface Mixerpublic void setFormat(Format format)
setFormat in interface Mixerformat - the format descriptor.public MediaSink newInput()
newInput in interface Mixerpublic MediaSource getOutput()
getOutput in interface Mixerprotected int getPacketSize()
public void release(MediaSink input)
release in interface Mixerinput - the input stream previously createdpublic void start()
start in interface Mixerpublic void startMixer()
public void stop()
stop in interface Mixerpublic void stopMixer(boolean stopOutput)
public String report()
report in interface Mixer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||