feat: Adds Audio Channel Metadata - #1036

This commit is contained in:
Miguel A. Arroyo
2021-08-20 17:35:59 -07:00
committed by Deluan Quintão
parent 0079a9b938
commit e12a14a87d
14 changed files with 115 additions and 12 deletions
+1
View File
@@ -34,6 +34,7 @@ var _ = Describe("Tags", func() {
Expect(m.HasPicture()).To(BeTrue())
Expect(m.Duration()).To(BeNumerically("~", 1.02, 0.01))
Expect(m.BitRate()).To(Equal(192))
Expect(m.Channels()).To(Equal(2))
Expect(m.FilePath()).To(Equal("tests/fixtures/test.mp3"))
Expect(m.Suffix()).To(Equal("mp3"))
Expect(m.Size()).To(Equal(int64(51876)))