Skip to content

Commit

Permalink
Removed -acodec from init
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexEidt committed Sep 23, 2022
1 parent dd1602d commit 9e48af1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion audio.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ func (audio *Audio) init() error {
"ffmpeg",
"-i", audio.filename,
"-f", audio.format,
"-acodec", fmt.Sprintf("pcm_%s", audio.format),
"-ar", fmt.Sprintf("%d", audio.samplerate),
"-ac", fmt.Sprintf("%d", audio.channels),
"-map", fmt.Sprintf("0:a:%d", audio.stream),
Expand Down
1 change: 0 additions & 1 deletion audiowriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ func (writer *AudioWriter) init() error {
"-y", // overwrite output file if it exists.
"-loglevel", "quiet",
"-f", writer.format,
"-acodec", fmt.Sprintf("pcm_%s", writer.format),
"-ar", fmt.Sprintf("%d", writer.samplerate),
"-ac", fmt.Sprintf("%d", writer.channels),
"-i", "-", // The input comes from stdin.
Expand Down
1 change: 0 additions & 1 deletion microphone.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ func (mic *Microphone) init() error {
"-f", micDeviceName,
"-i", mic.name,
"-f", mic.format,
"-acodec", fmt.Sprintf("pcm_%s", mic.format),
"-ar", fmt.Sprintf("%d", mic.samplerate),
"-ac", fmt.Sprintf("%d", mic.channels),
"-",
Expand Down

0 comments on commit 9e48af1

Please sign in to comment.