class InStreamDesc
extends java.lang.Object
Private to AudioMixer and AudioMixerPushBufferStream but extracted into its own file for the sake of clarity.
Modifier and Type | Field and Description |
---|---|
InDataSourceDesc |
inDataSourceDesc
The DataSource which created the SourceStream described
by this instance and additional information about it.
|
Constructor and Description |
---|
InStreamDesc(javax.media.protocol.SourceStream inStream,
InDataSourceDesc inDataSourceDesc)
Initializes a new InStreamDesc instance which is to describe
additional information about a specific input audio SourceStream
of an AudioMixer.
|
Modifier and Type | Method and Description |
---|---|
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 |
getInStream()
Gets the SourceStream described by this instance.
|
AudioMixingPushBufferDataSource |
getOutDataSource()
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 |
setInStream(javax.media.protocol.SourceStream inStream)
Sets the SourceStream to be described by this instance.
|
public final InDataSourceDesc inDataSourceDesc
public InStreamDesc(javax.media.protocol.SourceStream inStream, InDataSourceDesc inDataSourceDesc)
inStream
- a SourceStream for which additional
information is to be described by the new instanceinDataSourceDesc
- the DataSource which created the
SourceStream to be described by the new instance and additional
information about itpublic javax.media.Buffer getBuffer(boolean create)
create
- the indicator which determines whether the Buffer
is to be created in case it does not existpublic javax.media.protocol.SourceStream getInStream()
public AudioMixingPushBufferDataSource getOutDataSource()
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 setInStream(javax.media.protocol.SourceStream inStream)
inStream
- the SourceStream to be described by this
instance
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.