Skip to content

Commit

Permalink
Use mp3 package from different repo
Browse files Browse the repository at this point in the history
  • Loading branch information
braheezy committed Sep 29, 2023
1 parent 6647f3b commit 29e7842
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 2,355 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ Then, install directly with Go:
go install github.com/braheezy/goqoa@latest

## `qoa` Package
The `qoa` package is a pure Go implementation
The `qoa` package is a pure Go implementation.

Decode a `.qoa` file:
```go
data, _ := os.ReadFile("groovy-tunes.qoa")
Expand Down
2 changes: 1 addition & 1 deletion cmd/convert_mp3.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"log"
"os"

"github.com/braheezy/goqoa/pkg/mp3"
"github.com/braheezy/goqoa/pkg/qoa"
"github.com/braheezy/shine-mp3/pkg/mp3"
"github.com/tosone/minimp3"
)

Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
module github.com/braheezy/goqoa

go 1.21
go 1.21.0

require (
github.com/braheezy/shine-mp3 v0.1.0
github.com/ebitengine/oto/v3 v3.0.0
github.com/go-audio/audio v1.0.0
github.com/go-audio/wav v1.1.0
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
github.com/braheezy/shine-mp3 v0.0.0-20230929210133-8d7a7cfd1c97 h1:54iZU/8eIpY+gSn07ChXTfubtnVn6886TKvmvhAbFeA=
github.com/braheezy/shine-mp3 v0.0.0-20230929210133-8d7a7cfd1c97/go.mod h1:0H/pmcpFAd+Fnrj6Pc7du7wL36U/HqtfcgPJuCgc1L4=
github.com/braheezy/shine-mp3 v0.1.0 h1:N2wZhv6ipCFduTSftaPNdDgZ5xFmQAPvB7JcqA4sSi8=
github.com/braheezy/shine-mp3 v0.1.0/go.mod h1:0H/pmcpFAd+Fnrj6Pc7du7wL36U/HqtfcgPJuCgc1L4=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/d4l3k/messagediff v1.2.2-0.20190829033028-7e0a312ae40b/go.mod h1:Oozbb1TVXFac9FtSIxHBMnBCq2qeH/2KkEQxENCrlLo=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
Expand Down
58 changes: 0 additions & 58 deletions pkg/mp3/bitstream.go

This file was deleted.

290 changes: 0 additions & 290 deletions pkg/mp3/huffman.go

This file was deleted.

Loading

0 comments on commit 29e7842

Please sign in to comment.