Module: Kernel
- Defined in:
- lib/windsp.rb
Class Method Summary collapse
Class Method Details
.open(name, *rest, &block) ⇒ Object
111 112 113 114 115 116 117 |
# File 'lib/windsp.rb', line 111 def open(name, *rest, &block) if name == "/dev/dsp" WinDSP.open(*rest, &block) else windsp_orig_open(name, *rest, &block) end end |
.windsp_orig_open ⇒ Object
109 |
# File 'lib/windsp.rb', line 109 alias windsp_orig_open open |