dtas-all
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]