diff options
author | Eric Wong <e@80x24.org> | 2015-09-06 23:15:36 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-09-06 23:16:43 +0000 |
commit | 856b1c7064155e59c84942a7e8cd36128b6be34e (patch) | |
tree | c45027bedec2caa280c26c815f45a8f4d1b8a120 /lib/dtas/player.rb | |
parent | c3bb7810709a99a9886c7f96aed6fa62690a12cb (diff) | |
download | dtas-856b1c7064155e59c84942a7e8cd36128b6be34e.tar.gz |
This allows us to avoid wasting time reopening the same device over and over again.
Diffstat (limited to 'lib/dtas/player.rb')
-rw-r--r-- | lib/dtas/player.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb index cdf1265..a102618 100644 --- a/lib/dtas/player.rb +++ b/lib/dtas/player.rb @@ -426,7 +426,7 @@ class DTAS::Player # :nodoc: dst = @sink_buf pending.dst_assoc(dst) - pending.src_spawn(@format, @rg, out: dst.wr, in: "/dev/null") + pending.src_spawn(@format, @rg, out: dst.wr, in: DTAS.null) # watch and restart on modifications pending.respond_to?(:watch_begin) and |