|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.conference.InputStreamDesc
class InputStreamDesc
Describes additional information about a specific input audio SourceStream of an AudioMixer so that the AudioMixer can, for example, quickly discover the output AudioMixingPushBufferDataSource in the mix of which the contribution of the SourceStream is to not be included.
Private to AudioMixer and AudioMixerPushBufferStream but extracted into its own file for the sake of clarity.
| Field Summary | |
|---|---|
InputDataSourceDesc |
inputDataSourceDesc
The DataSource which created the SourceStream described by this instance and additional information about it. |
(package private) long |
nonContributingReadCount
The number of reads of this input stream which did not return any samples. |
| Constructor Summary | |
|---|---|
InputStreamDesc(javax.media.protocol.SourceStream inputStream,
InputDataSourceDesc inputDataSourceDesc)
Initializes a new InputStreamDesc instance which is to describe additional information about a specific input audio SourceStream of an AudioMixer. |
|
| Method Summary | |
|---|---|
javax.media.Buffer |
getBuffer(boolean create)
Gets the Buffer into which media data is to be read from the SourceStream described by this instance. |
javax.media.protocol.SourceStream |
getInputStream()
Gets the SourceStream described by this instance. |
AudioMixingPushBufferDataSource |
getOutputDataSource()
Gets the AudioMixingPushBufferDataSource in which the mix contribution of the SourceStream described by this instance is to not be included. |
void |
setBuffer(javax.media.Buffer buffer)
Sets the Buffer into which media data is to be read from the SourceStream described by this instance. |
void |
setInputStream(javax.media.protocol.SourceStream inputStream)
Sets the SourceStream to be described by this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final InputDataSourceDesc inputDataSourceDesc
long nonContributingReadCount
| Constructor Detail |
|---|
public InputStreamDesc(javax.media.protocol.SourceStream inputStream,
InputDataSourceDesc inputDataSourceDesc)
inputStream - a SourceStream for which additional
information is to be described by the new instanceinputDataSourceDesc - the DataSource which created the
SourceStream to be described by the new instance and additional
information about it| Method Detail |
|---|
public javax.media.Buffer getBuffer(boolean create)
create - the indicator which determines whether the Buffer
is to be created in case it does not exist
public javax.media.protocol.SourceStream getInputStream()
public AudioMixingPushBufferDataSource getOutputDataSource()
public void setBuffer(javax.media.Buffer buffer)
buffer - the Buffer into which media data is to be read
from the SourceStream described by this instancepublic void setInputStream(javax.media.protocol.SourceStream inputStream)
inputStream - the SourceStream to be described by this
instance
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||