public class AudioParams extends AbstractModel
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 The audio bitrate (bps).
|
Long |
getChannel()
Get The number of sound channels.
|
Long |
getSampleRate()
Get The audio sample rate.
|
void |
setBitRate(Long BitRate)
Set The audio bitrate (bps).
|
void |
setChannel(Long Channel)
Set The number of sound channels.
|
void |
setSampleRate(Long SampleRate)
Set The audio sample rate.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AudioParams()
public AudioParams(AudioParams source)
public Long getSampleRate()
public void setSampleRate(Long SampleRate)
SampleRate
- The audio sample rate.
1: 48000 Hz (default)
2: 44100 Hz
3: 16000 Hzpublic Long getChannel()
public void setChannel(Long Channel)
Channel
- The number of sound channels.
1: Mono-channel
2: Dual-channel (default)public Long getBitRate()
public void setBitRate(Long BitRate)
BitRate
- The audio bitrate (bps). Value range: [32000, 128000]. Default: 64000.Copyright © 2023. All rights reserved.