Skip to content

Commit

Permalink
Enable mp3 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
braheezy committed Sep 29, 2023
1 parent 5ea3c1b commit 0c2d3ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 38 deletions.
18 changes: 0 additions & 18 deletions cmd/convert_mp3_windows.go

This file was deleted.

30 changes: 10 additions & 20 deletions cmd/goqoa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"encoding/hex"
"fmt"
"os"
"runtime"
"strings"
"testing"

Expand Down Expand Up @@ -52,25 +51,16 @@ func TestConvertCmd(t *testing.T) {
inputFormat: "flac",
outputFormat: "qoa",
},
}
if runtime.GOOS != "windows" {
mp3TestCases := []struct {
audioFormat string
inputFormat string
outputFormat string
}{
{
audioFormat: "mp3",
inputFormat: "mp3",
outputFormat: "qoa",
},
{
audioFormat: "mp3",
inputFormat: "qoa",
outputFormat: "mp3",
},
}
tt = append(tt, mp3TestCases...)
{
audioFormat: "mp3",
inputFormat: "mp3",
outputFormat: "qoa",
},
{
audioFormat: "mp3",
inputFormat: "qoa",
outputFormat: "mp3",
},
}

for _, tc := range tt {
Expand Down

0 comments on commit 0c2d3ca

Please sign in to comment.