about summary refs log tree commit homepage
path: root/test
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-05-18 04:48:18 +0000
committerEric Wong <e@80x24.org>2015-05-18 04:50:24 +0000
commit7ca5d0bfc714c254c374af9cbc2e024a8b439725 (patch)
tree5de31cbca5006e20c43f0c506b02ac60e127ecb5 /test
parent68bd2d7c785e42bdde3834f144b42fdb506434c9 (diff)
downloaddtas-7ca5d0bfc714c254c374af9cbc2e024a8b439725.tar.gz
Lossy file encoding has too many tunable variables and it is not a
good fit for an audio production tool such as dtas-splitfx.  This
was becoming a maintenance burden for me and is a sign of
featuritis.
Diffstat (limited to 'test')
-rw-r--r--test/test_splitfx.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/test/test_splitfx.rb b/test/test_splitfx.rb
index adb3508..49df49d 100644
--- a/test/test_splitfx.rb
+++ b/test/test_splitfx.rb
@@ -70,35 +70,6 @@ class TestSplitfx < Testcase
 
         cmp = "cmp result.s32 expect.s32"
         assert system(cmp), cmp
-
-        # try Ogg Opus, use opusenc/opusdec for now since that's available
-        # in Debian 7.0 (sox.git currently has opusfile support, but that
-        # hasn't made it into Debian, yet)
-        if `which opusenc 2>/dev/null`.size > 0 &&
-           `which opusdec 2>/dev/null`.size > 0
-          WAIT_ALL_MTX.synchronize do
-            tmp_err('opus.err.txt') { sfx.run("opusenc", opts) }
-          end
-          assert_contains_stats('opus.err.txt')
-
-          # ensure opus lengths match flac ones, we decode using opusdec
-          # since sox does not yet have opus support in Debian 7.0
-          %w(1 2).each do |nr|
-            cmd = "opusdec #{nr}.opus #{nr}.wav 2>/dev/null"
-            assert system(cmd), cmd
-            assert_equal `soxi -D #{nr}.flac`, `soxi -D #{nr}.wav`
-          end
-
-          # ensure 16/44.1kHz FLAC works (CDDA-like)
-          File.unlink('1.flac', '2.flac')
-          WAIT_ALL_MTX.synchronize do
-            tmp_err('flac-cdda.err.txt') { sfx.run("flac-cdda", opts) }
-          end
-          assert_contains_stats('flac-cdda.err.txt')
-          %w(1 2).each do |nr|
-            assert_equal `soxi -D #{nr}.flac`, `soxi -D #{nr}.wav`
-          end
-        end
       end
     end
   end