This commit is contained in:
2026-02-02 19:07:00 +08:00
parent 0416a64235
commit 993ec623af
3 changed files with 85 additions and 3 deletions

View File

@@ -25,6 +25,9 @@ NS_ASSUME_NONNULL_BEGIN
/// 波形条间距
@property(nonatomic, assign) CGFloat barSpacing;
/// 自定义柱状高度基准0~1长度需 >= barCount未设置则使用默认算法
@property(nonatomic, strong, nullable) NSArray<NSNumber *> *barHeightPattern;
/// 更新音量值
/// @param rms 音量 RMS 值 (0.0 - 1.0)
- (void)updateWithRMS:(float)rms;