com.baidubce.services.lss.model
Class Audio

java.lang.Object
  extended by com.baidubce.services.lss.model.Audio
All Implemented Interfaces:
Serializable

public class Audio
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Audio()
           
 
Method Summary
 Integer getBitRateInBps()
          Returns the audio bit rate
 Integer getChannels()
          Returns the number of audio channels.
 Integer getSampleRateInHz()
          Returns the audio sample rate.
 void setBitRateInBps(Integer bitRateInBps)
          Sets the audio bit rate.
 void setChannels(Integer channels)
          Sets the number of audio channels.
 void setSampleRateInHz(Integer sampleRateInHz)
          Sets the audio sample rate
 String toString()
           
 Audio withBitRateInBps(Integer bitRateInBps)
          Sets the audio bit rate and returns this object.
 Audio withChannels(Integer channels)
          Sets the number of audio channels and returns this object.
 Audio withSampleRateInHz(Integer sampleRateInHz)
          Sets the audio sample rate and returns this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Audio

public Audio()
Method Detail

getBitRateInBps

public Integer getBitRateInBps()
Returns the audio bit rate

Returns:
the audio bit rate

setBitRateInBps

public void setBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate.

Parameters:
bitRateInBps - the audio bit rate

withBitRateInBps

public Audio withBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate and returns this object.

Parameters:
bitRateInBps - the audio bit rate
Returns:
this object

getSampleRateInHz

public Integer getSampleRateInHz()
Returns the audio sample rate.

Returns:
the audio sample rate

setSampleRateInHz

public void setSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate

Parameters:
sampleRateInHz - the audio sample rate

withSampleRateInHz

public Audio withSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate and returns this object

Parameters:
sampleRateInHz - the audio sample rate
Returns:
this object

getChannels

public Integer getChannels()
Returns the number of audio channels.

Returns:
the number of audio channels

setChannels

public void setChannels(Integer channels)
Sets the number of audio channels.

Parameters:
channels - the number of audio channels

withChannels

public Audio withChannels(Integer channels)
Sets the number of audio channels and returns this object.

Parameters:
channels - the number of audio channels
Returns:
this object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.