新增FLAC格式音乐标签信息写入与封面嵌入

This commit is contained in:
lyswhut
2020-03-22 18:33:51 +08:00
parent 343c53b41c
commit a4c5670409
14 changed files with 383 additions and 254 deletions
@@ -0,0 +1,25 @@
class MetaDataBlock {
constructor(isLast, type) {
this.isLast = isLast
this.type = type
this.error = null
this.hasData = false
this.removed = false
}
remove() {
this.removed = true
}
parse(buffer) {
}
toString() {
let str = '[MetaDataBlock]'
str += ' type: ' + this.type
str += ', isLast: ' + this.isLast
return str
}
}
module.exports = MetaDataBlock