diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-09-22 23:02:30 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-09-22 23:14:44 +0000 |
commit | c6647f5f0c8cf76d95ad88be01b3494bfda41c9d (patch) | |
tree | 91ef1ffc43e8c7ec72ab6767ffc98e36b8a7efcc | |
parent | 09724ca3f1eb1d0d726ba0f6288b44bdc073994e (diff) | |
download | dtas-c6647f5f0c8cf76d95ad88be01b3494bfda41c9d.tar.gz |
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).
-rw-r--r-- | lib/dtas/splitfx.rb | 2 | ||||
-rw-r--r-- | 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 |