lib/patchmaster/dsl.rb in patchmaster-0.0.2 vs lib/patchmaster/dsl.rb in patchmaster-0.0.3
- old
+ new
@@ -58,9 +58,13 @@
def start_bytes(bytes)
@patch.start_bytes = bytes
end
+ def stop_bytes(bytes)
+ @patch.stop_bytes = bytes
+ end
+
def connection(in_sym, in_chan, out_sym, out_chan)
input = @pm.inputs[in_sym]
in_chan = nil if in_chan == :all || in_chan == :any
raise "can't find input instrument #{in_sym}" unless input
output = @pm.outputs[out_sym]