From ccacb0175b6958d90fa04ebee919e99d0f987752 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 7 Jan 2022 09:34:39 +0000 Subject: splitfx: fix track_zpad with integer arg This is a rarely-needed corner-case, but I just needed to use this feature. --- lib/dtas/splitfx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/dtas/splitfx.rb') diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb index 9e1cfd0..8454d6a 100644 --- a/lib/dtas/splitfx.rb +++ b/lib/dtas/splitfx.rb @@ -113,7 +113,7 @@ class DTAS::SplitFX # :nodoc: end case v = hash["track_zpad"] - when Integer then @track_zpad = val + when Integer then @track_zpad = v else _bool(hash, "track_zpad") { |val| @track_zpad = val } end -- cgit v1.2.3-24-ge0c7