about summary refs log tree commit homepage
path: root/lib/dtas/buffer/splice.rb
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-01-20 01:33:38 +0000
committerEric Wong <e@80x24.org>2015-01-20 02:08:44 +0000
commit65bb4baf0e479ff7cfbf0a8422824834c9f06ab1 (patch)
tree9a0bc4866c5d9e3ad5a896ddb814542dd29f902d /lib/dtas/buffer/splice.rb
parent51e6240767b394e255d05a0f712a1da853485e82 (diff)
downloaddtas-65bb4baf0e479ff7cfbf0a8422824834c9f06ab1.tar.gz
Hopefully this makes the code less daunting to newcomers
Diffstat (limited to 'lib/dtas/buffer/splice.rb')
-rw-r--r--lib/dtas/buffer/splice.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtas/buffer/splice.rb b/lib/dtas/buffer/splice.rb
index 3f2484b..c83b87b 100644
--- a/lib/dtas/buffer/splice.rb
+++ b/lib/dtas/buffer/splice.rb
@@ -5,6 +5,7 @@ require 'io/splice'
 require_relative '../../dtas'
 require_relative '../pipe'
 
+# Used by -player on Linux systems with the "io-splice" RubyGem installed
 module DTAS::Buffer::Splice # :nodoc:
   MAX_AT_ONCE = 4096 # page size in Linux
   MAX_AT_ONCE_1 = 65536