Music
- C++
更新时间
描述音乐资源的详细信息。
struct Music {
int64_t songCode;
const char* name;
const char* singer;
const char* poster;
const char* releaseTime;
int32_t durationS;
int32_t type;
int32_t pitchType;
int32_t lyricCount;
int32_t* lyricList;
int32_t climaxSegmentCount;
ClimaxSegment* climaxSegmentList;
int32_t mvPropertyCount;
MvProperty* mvPropertyList;
};属性
| 参数名 | 描述 |
|---|---|
songCode | 音乐资源的 ID,用于标识一个音乐条目。 |
name | 音乐资源的名称。 |
singer | 歌手名称。 |
poster | 音乐海报的下载链接。 |
releaseTime | 音乐资源的发布时间。 |
durationS | 音乐资源的总时长(单位为秒)。 |
type | 音乐资源的类型:
|
pitchType | 歌曲是否支持音高评分:
|
lyricCount | 该歌曲可用的歌词数量。 |
lyricList | 支持的歌词格式:
|
climaxSegmentCount | 高潮片段的数量。 |
climaxSegmentList | 高潮片段列表。详见 ClimaxSegment。 |
mvPropertyCount | MV 的数量。如果该值大于 0,表示当前音乐存在 MV 资源。 |
mvPropertyList | MV 属性列表。 |