|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sauronsoftware.jave.AudioAttributes
public class AudioAttributes
Attributes controlling the audio encoding process.
Field Summary | |
---|---|
static java.lang.String |
DIRECT_STREAM_COPY
This value can be setted in the codec field to perform a direct stream copy, without re-encoding of the audio stream. |
Constructor Summary | |
---|---|
AudioAttributes()
|
Method Summary | |
---|---|
void |
setBitRate(java.lang.Integer bitRate)
Sets the bitrate value for the encoding process. |
void |
setChannels(java.lang.Integer channels)
Sets the channels value (1=mono, 2=stereo) for the encoding process. |
void |
setCodec(java.lang.String codec)
Sets the codec name for the encoding process. |
void |
setSamplingRate(java.lang.Integer samplingRate)
Sets the samplingRate value for the encoding process. |
void |
setVolume(java.lang.Integer volume)
Sets the volume value for the encoding process. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DIRECT_STREAM_COPY
Constructor Detail |
---|
public AudioAttributes()
Method Detail |
---|
public void setCodec(java.lang.String codec)
Encoder.getAudioEncoders()
.
A special value can be picked from
DIRECT_STREAM_COPY
.
codec
- The codec name for the encoding process.public void setBitRate(java.lang.Integer bitRate)
bitRate
- The bitrate value for the encoding process.public void setSamplingRate(java.lang.Integer samplingRate)
samplingRate
- The samplingRate value for the encoding process.public void setChannels(java.lang.Integer channels)
channels
- The channels value (1=mono, 2=stereo) for the encoding
process.public void setVolume(java.lang.Integer volume)
volume
- The volume value for the encoding process.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |