Package io.agora.rtc2.audio
Class AgoraRhythmPlayerConfig
java.lang.Object
io.agora.rtc2.audio.AgoraRhythmPlayerConfig
The configuration of rhythm player,
which is set in startRhythmPlayer or configRhythmPlayer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of beats per measure.int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
beatsPerMeasure
public int beatsPerMeasureThe number of beats per measure. The range is 1 to 9. The default value is 4, which means that each measure contains one downbeat and three upbeats. -
beatsPerMinute
public int beatsPerMinute
-
-
Constructor Details
-
AgoraRhythmPlayerConfig
public AgoraRhythmPlayerConfig()
-
-
Method Details
-
getBeatsPerMeasure
public int getBeatsPerMeasure() -
getBeatsPerMinute
public int getBeatsPerMinute()
-