RtcAudioFormat class
The audio format class.
音频格式类。
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- RtcAudioFormat.new({AudioType? type = AudioType.PCM, int? channels = 0, int? sampleRate = 0, int? bytesPerSample = 0})
- Constructs a RtcAudioFormat
Properties
- bytesPerSample → int?
-
The bytes per audio frame.
final
- channels → int?
-
The number of audio channels.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sampleRate → int?
-
The audio sample rate.
final
- type → AudioType?
-
The audio type. Default: kPanoPCM.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited