public class AudioParams extends AbstractModel
header, skipSign
Constructor and Description |
---|
AudioParams() |
AudioParams(AudioParams source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBitRate()
Get 音频码率: 取值范围[32000, 128000] ,单位bps,默认64000bps。
|
Long |
getChannel()
Get 声道数枚举值:
1:单声道;
2:双声道(默认)。
|
Long |
getSampleRate()
Get 音频采样率枚举值:(注意1 代表48000HZ, 2 代表44100HZ, 3 代表16000HZ)
1:48000Hz(默认);
2:44100Hz
3:16000Hz。
|
void |
setBitRate(Long BitRate)
Set 音频码率: 取值范围[32000, 128000] ,单位bps,默认64000bps。
|
void |
setChannel(Long Channel)
Set 声道数枚举值:
1:单声道;
2:双声道(默认)。
|
void |
setSampleRate(Long SampleRate)
Set 音频采样率枚举值:(注意1 代表48000HZ, 2 代表44100HZ, 3 代表16000HZ)
1:48000Hz(默认);
2:44100Hz
3:16000Hz。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AudioParams()
public AudioParams(AudioParams source)
public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- 音频采样率枚举值:(注意1 代表48000HZ, 2 代表44100HZ, 3 代表16000HZ)
1:48000Hz(默认);
2:44100Hz
3:16000Hz。public Long getChannel()
public void setChannel(Long Channel)
Channel
- 声道数枚举值:
1:单声道;
2:双声道(默认)。public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate
- 音频码率: 取值范围[32000, 128000] ,单位bps,默认64000bps。Copyright © 2024. All rights reserved.