类 Audio
- java.lang.Object
-
- com.baidubce.services.lss.model.Audio
-
- 所有已实现的接口:
Serializable
public class Audio extends Object implements Serializable
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 Audio()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 IntegergetBitRateInBps()Returns the audio bit rateIntegergetChannels()Returns the number of audio channels.IntegergetSampleRateInHz()Returns the audio sample rate.voidsetBitRateInBps(Integer bitRateInBps)Sets the audio bit rate.voidsetChannels(Integer channels)Sets the number of audio channels.voidsetSampleRateInHz(Integer sampleRateInHz)Sets the audio sample rateStringtoString()AudiowithBitRateInBps(Integer bitRateInBps)Sets the audio bit rate and returns this object.AudiowithChannels(Integer channels)Sets the number of audio channels and returns this object.AudiowithSampleRateInHz(Integer sampleRateInHz)Sets the audio sample rate and returns this object
-
-
-
方法详细资料
-
getBitRateInBps
public Integer getBitRateInBps()
Returns the audio bit rate- 返回:
- the audio bit rate
-
setBitRateInBps
public void setBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate.- 参数:
bitRateInBps- the audio bit rate
-
withBitRateInBps
public Audio withBitRateInBps(Integer bitRateInBps)
Sets the audio bit rate and returns this object.- 参数:
bitRateInBps- the audio bit rate- 返回:
- this object
-
getSampleRateInHz
public Integer getSampleRateInHz()
Returns the audio sample rate.- 返回:
- the audio sample rate
-
setSampleRateInHz
public void setSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate- 参数:
sampleRateInHz- the audio sample rate
-
withSampleRateInHz
public Audio withSampleRateInHz(Integer sampleRateInHz)
Sets the audio sample rate and returns this object- 参数:
sampleRateInHz- the audio sample rate- 返回:
- this object
-
getChannels
public Integer getChannels()
Returns the number of audio channels.- 返回:
- the number of audio channels
-
setChannels
public void setChannels(Integer channels)
Sets the number of audio channels.- 参数:
channels- the number of audio channels
-
withChannels
public Audio withChannels(Integer channels)
Sets the number of audio channels and returns this object.- 参数:
channels- the number of audio channels- 返回:
- this object
-
-