Decoder.GetAudioExt() return extension with .

This commit is contained in:
Emmm Monster committed 2021-05-16 12:15:22 +08:00
1 parent 9caf11217b
commit f9686bbfc4
7 files changed
+19 -7

No files matched your search

+5 -1
View File
@@ -38,7 +38,11 @@ func (d *Decoder) GetAudioData() []byte {
}
func (d *Decoder) GetAudioExt() string {
return d.outputExt
if d.outputExt != "" {
return "." + d.outputExt
}
return ""
}
func (d *Decoder) GetMeta() common.Meta {