[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/6] splitfx: rename "opus" target to "opusenc"
From: |
Eric Wong |
Subject: |
[PATCH 1/6] splitfx: rename "opus" target to "opusenc" |
Date: |
Sun, 22 Sep 2013 23:44:23 +0000 |
sox(1) may gain the ability to natively encode to Opus one day
without using opusenc(1), so make it more explicit we are relying
on opusenc(1).
---
lib/dtas/splitfx.rb | 2 +-
test/test_splitfx.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index c54c1a4..fd7093a 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -58,7 +58,7 @@ class DTAS::SplitFX # :nodoc:
"channels" => 2,
},
},
- "opus" => {
+ "opusenc" => {
"command" => 'sox "$INFILE" $COMMENTS $OUTFMT - ' \
'$TRIMFX $RATEFX $DITHERFX | opusenc --music ' \
'--raw-bits $BITS_PER_SAMPLE ' \
diff --git a/test/test_splitfx.rb b/test/test_splitfx.rb
index 9ba4664..eb3e501 100644
--- a/test/test_splitfx.rb
+++ b/test/test_splitfx.rb
@@ -53,7 +53,7 @@ class TestSplitfx < Testcase
err = $stderr.dup
begin
$stderr.reopen("/dev/null", "a")
- WAIT_ALL_MTX.synchronize { sfx.run("opus", opts) }
+ WAIT_ALL_MTX.synchronize { sfx.run("opusenc", opts) }
ensure
$stderr.reopen(err)
end
--
1.8.4
- [PATCH 1/6] splitfx: rename "opus" target to "opusenc",
Eric Wong <=
- [PATCH 2/6] doc: add manpage for dtas-splitfx, Eric Wong, 2013/09/22
- [PATCH 5/6] dtas 0.4.0 - dtas-splitfx, tracklist in -player, Eric Wong, 2013/09/22
- [PATCH 3/6] splitfx: nodoc the Skip class, Eric Wong, 2013/09/22
- [PATCH 6/6] Rakefile: add examples to website, too, Eric Wong, 2013/09/22
- [PATCH 4/6] README: update for dtas-splitfx and tracklist in -player, Eric Wong, 2013/09/22