This commit is contained in:
parent
1bc87d0afa
commit
01ef1ed311
14
.drone.yml
Normal file
14
.drone.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang:1.18rc1-bullseye
|
||||
commands:
|
||||
- DEBIAN_FRONTEND=noninteractive apt update
|
||||
- DEBIAN_FRONTEND=noninteractive apt install -y libflac-dev
|
||||
- go test -cover -v
|
||||
|
||||
...
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -27,3 +27,5 @@ libtta-c*
|
|||
*.wav
|
||||
*.tta
|
||||
cmd/gotta/gotta
|
||||
|
||||
/.idea
|
14
.travis.yml
14
.travis.yml
|
@ -1,14 +0,0 @@
|
|||
language: go
|
||||
go:
|
||||
- "1.8"
|
||||
- "1.9"
|
||||
- "1.10"
|
||||
- "1.11"
|
||||
- "1.12"
|
||||
- "1.13"
|
||||
- "1.14"
|
||||
- tip
|
||||
before_install:
|
||||
- go get github.com/mattn/goveralls
|
||||
script:
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci
|
19
README.md
19
README.md
|
@ -1,23 +1,10 @@
|
|||
# tta
|
||||
[![Go Report Card](https://goreportcard.com/badge/github.com/dsonck92/tta)](https://goreportcard.com/report/github.com/dsonck92/tta)
|
||||
[![GoDoc](https://godoc.org/github.com/dsonck92/tta?status.svg)](https://godoc.org/github.com/dsonck92/tta)
|
||||
[![Build Status](https://travis-ci.org/dsonck92/tta.svg?branch=master)](https://travis-ci.org/dsonck92/tta)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/dsonck92/tta/badge.svg?branch=master)](https://coveralls.io/github/dsonck92/tta?branch=master)
|
||||
[![Go Report Card](https://goreportcard.com/badge/git.gammaspectra.live/S.O.N.G/go-tta)](https://goreportcard.com/report/git.gammaspectra.live/S.O.N.G/go-tta)
|
||||
[![GoDoc](https://godoc.org/git.gammaspectra.live/S.O.N.G/go-tta?status.svg)](https://godoc.org/git.gammaspectra.live/S.O.N.G/go-tta)
|
||||
[![Build Status](https://ci.gammaspectra.live/api/badges/S.O.N.G/go-tta/status.svg)](https://ci.gammaspectra.live/S.O.N.G/go-tta)
|
||||
|
||||
[TTA Lossless Audio Codec](http://en.true-audio.com/TTA_Lossless_Audio_Codec_-_Realtime_Audio_Compressor) Encoder/Decoder for #golang
|
||||
|
||||
## `gotta` console tool
|
||||
|
||||
- install: `go get github.com/zyxar/tta/cmd/gotta`
|
||||
- usage:
|
||||
|
||||
```
|
||||
-decode=false: decode file
|
||||
-encode=false: encode file
|
||||
-help=false: print this help
|
||||
-passwd="": specify password
|
||||
```
|
||||
|
||||
## TODOs
|
||||
|
||||
- [x] SSE4 acceleration
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"runtime/pprof"
|
||||
"time"
|
||||
|
||||
"github.com/dsonck92/tta"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
2
codec.go
2
codec.go
|
@ -1,7 +1,7 @@
|
|||
package tta
|
||||
|
||||
import (
|
||||
"github.com/dsonck92/tta/filter"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta/filter"
|
||||
)
|
||||
|
||||
type Info struct {
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/dsonck92/tta/filter"
|
||||
"github.com/dsonck92/tta/wave"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta/filter"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta/wave"
|
||||
)
|
||||
|
||||
type Decoder struct {
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/dsonck92/tta/filter"
|
||||
"github.com/dsonck92/tta/wave"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta/filter"
|
||||
"git.gammaspectra.live/S.O.N.G/go-tta/wave"
|
||||
)
|
||||
|
||||
type Encoder struct {
|
||||
|
|
Loading…
Reference in a new issue