|
@@ -39,22 +39,10 @@ public class AiChatMessageSendRespVO {
|
|
|
private LocalDateTime createTime;
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
- @Schema(description = "音频数据(Base64编码)", example = "UklGRigAAABXQVZFZm10IBAAAAABAAEARKwAAIhYAQACABAAZGF0YQQBAAD...")
|
|
|
|
|
- private String audioData;
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "音频元数据")
|
|
|
|
|
- private AudioMeta audioMeta; // 新增音频元数据字段
|
|
|
|
|
-
|
|
|
|
|
- @Schema(description = "音频元数据")
|
|
|
|
|
- @Data
|
|
|
|
|
- public static class AudioMeta {
|
|
|
|
|
- @Schema(description = "采样率", requiredMode = Schema.RequiredMode.REQUIRED, example = "24000")
|
|
|
|
|
- private Integer sampleRate; // 采样率(必须与TTS设置一致)
|
|
|
|
|
|
|
|
|
|
- @Schema(description = "位深", requiredMode = Schema.RequiredMode.REQUIRED, example = "16")
|
|
|
|
|
- private Integer bitDepth; // 位深(通常为16)
|
|
|
|
|
|
|
+ @Schema(description = "事件类型")
|
|
|
|
|
+ private String eventType;
|
|
|
|
|
|
|
|
- @Schema(description = "声道数", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
|
|
|
|
|
- private Integer channels; // 声道数(通常为1-单声道)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ @Schema(description = "Base64编码的音频数据")
|
|
|
|
|
+ private String audioData;
|
|
|
}
|
|
}
|