From e76ed3cd8280f3516be3dac7c73f6481f1e69ec4 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 26 Dec 2016 23:57:32 +0000 Subject: source/sox: integrate mcache support to reduce soxi calls This should improve performance with slow filesystems or systems with slow spawn performance. --- test/test_source_sox.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_source_sox.rb b/test/test_source_sox.rb index 05ea9a8..b364e0b 100644 --- a/test/test_source_sox.rb +++ b/test/test_source_sox.rb @@ -34,6 +34,7 @@ class TestSource < Testcase source = DTAS::Source::Sox.new.try(tmp.path) x(%W(metaflac --set-tag=FOO=BAR #{tmp.path})) x(%W(metaflac --add-replay-gain #{tmp.path})) + source = DTAS::Source::Sox.new.try(tmp.path) assert_equal source.comments["FOO"], "BAR" rg = source.replaygain('track_gain') assert_kind_of DTAS::ReplayGain, rg -- cgit v1.2.3-24-ge0c7